2 implementations of Length
PresentationFramework (2)
System\Windows\Documents\NLGSpellerInterop.cs (1)
514public int Length
System\Windows\Documents\WinRTSpellerInterop.cs (1)
888public int Length
20 references to Length
PresentationFramework (20)
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 (13)
903if (sTextRange.Start + sTextRange.Length <= data.TextMap.ContentStartOffset) 915if (sTextRange.Length > 1) // Ignore single letter errors 952if (sTextRange.Start + sTextRange.Length <= data.TextMap.ContentStartOffset) 963if (sTextRange.Length > 1) // Ignore single letter errors. 966word = new char[sTextRange.Length]; 967Array.Copy(data.TextMap.Text, sTextRange.Start, word, 0, sTextRange.Length); 1063if (sTextRange.Start + sTextRange.Length > textMap.ContentEndOffset) 1073errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.Length); 1077Invariant.Assert(sTextRange.Start + sTextRange.Length > textMap.ContentStartOffset); 1212contextOffset = Math.Max(sTextRange.Start + sTextRange.Length, contentOffset); 1277if (textMap.ContentStartOffset > sTextRange.Start + sTextRange.Length) 1279leftWordBreak = sTextRange.Start + sTextRange.Length; 1291rightWordBreak = 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;