2 implementations of Length
PresentationFramework (2)
System\Windows\Documents\NLGSpellerInterop.cs (1)
510public int Length
System\Windows\Documents\WinRTSpellerInterop.cs (1)
880public int Length
19 references to Length
PresentationFramework (19)
System\Windows\Documents\NLGSpellerInterop.cs (2)
646public string Text => SourceString?.Substring(TextRange.Start, TextRange.Length); 878endOffset = textRange.Start + textRange.Length;
System\Windows\Documents\Speller.cs (12)
886if (sTextRange.Start + sTextRange.Length <= data.TextMap.ContentStartOffset) 898if (sTextRange.Length > 1) // Ignore single letter errors 934if (sTextRange.Start + sTextRange.Length <= data.TextMap.ContentStartOffset) 945if (sTextRange.Length > 1) // Ignore single letter errors. 948string word = new(data.TextMap.Text, sTextRange.Start, sTextRange.Length); 1044if (sTextRange.Start + sTextRange.Length > textMap.ContentEndOffset) 1054errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.Length); 1058Invariant.Assert(sTextRange.Start + sTextRange.Length > textMap.ContentStartOffset); 1193contextOffset = Math.Max(sTextRange.Start + sTextRange.Length, contentOffset); 1258if (textMap.ContentStartOffset > sTextRange.Start + sTextRange.Length) 1260leftWordBreak = sTextRange.Start + sTextRange.Length; 1272rightWordBreak = sTextRange.Start + sTextRange.Length;
System\Windows\Documents\TextMapOffsetErrorLogger.cs (2)
89Length = textSegment.Length 157/// instance containing <see cref="SpellerInteropBase.ITextRange.Start"/> and <see cref="SpellerInteropBase.ITextRange.Length"/> values.
System\Windows\Documents\WinRTSpellerInterop.cs (3)
864this(textRange.Start, textRange.Length) 963public string Text => SourceString?.Substring(TextRange.Start, TextRange.Length); 1077endOffset = textRange.Start + textRange.Length;