2 implementations of Length
PresentationFramework (2)
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (1)
582public int Length
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
971public int Length
15 references to Length
PresentationFramework (15)
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (1)
999endOffset = textRange.Start + textRange.Length;
src\Framework\System\Windows\Documents\Speller.cs (13)
958if (sTextRange.Start + sTextRange.Length <= data.TextMap.ContentStartOffset) 970if (sTextRange.Length > 1) // Ignore single letter errors 1007if (sTextRange.Start + sTextRange.Length <= data.TextMap.ContentStartOffset) 1018if (sTextRange.Length > 1) // Ignore single letter errors. 1021word = new char[sTextRange.Length]; 1022Array.Copy(data.TextMap.Text, sTextRange.Start, word, 0, sTextRange.Length); 1118if (sTextRange.Start + sTextRange.Length > textMap.ContentEndOffset) 1128errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.Length); 1132Invariant.Assert(sTextRange.Start + sTextRange.Length > textMap.ContentStartOffset); 1272contextOffset = Math.Max(sTextRange.Start + sTextRange.Length, contentOffset); 1337if (textMap.ContentStartOffset > sTextRange.Start + sTextRange.Length) 1339leftWordBreak = sTextRange.Start + sTextRange.Length; 1351rightWordBreak = sTextRange.Start + sTextRange.Length;
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
1166endOffset = textRange.Start + textRange.Length;