2 implementations of Length
PresentationFramework (2)
System\Windows\Documents\NLGSpellerInterop.cs (1)
514public int Length
System\Windows\Documents\WinRTSpellerInterop.cs (1)
888public int Length
19 references to Length
PresentationFramework (19)
System\Windows\Documents\NLGSpellerInterop.cs (2)
650public string Text => SourceString?.Substring(TextRange.Start, TextRange.Length); 882endOffset = textRange.Start + textRange.Length;
System\Windows\Documents\Speller.cs (12)
890if (sTextRange.Start + sTextRange.Length <= data.TextMap.ContentStartOffset) 902if (sTextRange.Length > 1) // Ignore single letter errors 938if (sTextRange.Start + sTextRange.Length <= data.TextMap.ContentStartOffset) 949if (sTextRange.Length > 1) // Ignore single letter errors. 952string word = new(data.TextMap.Text, sTextRange.Start, sTextRange.Length); 1048if (sTextRange.Start + sTextRange.Length > textMap.ContentEndOffset) 1058errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.Length); 1062Invariant.Assert(sTextRange.Start + sTextRange.Length > textMap.ContentStartOffset); 1197contextOffset = Math.Max(sTextRange.Start + sTextRange.Length, contentOffset); 1262if (textMap.ContentStartOffset > sTextRange.Start + sTextRange.Length) 1264leftWordBreak = sTextRange.Start + sTextRange.Length; 1276rightWordBreak = sTextRange.Start + sTextRange.Length;
System\Windows\Documents\TextMapOffsetErrorLogger.cs (2)
90Length = textSegment.Length 158/// instance containing <see cref="SpellerInteropBase.ITextRange.Start"/> and <see cref="SpellerInteropBase.ITextRange.Length"/> values.
System\Windows\Documents\WinRTSpellerInterop.cs (3)
872this(textRange.Start, textRange.Length) 971public string Text => SourceString?.Substring(TextRange.Start, TextRange.Length); 1085endOffset = textRange.Start + textRange.Length;