2 implementations of Length
PresentationFramework (2)
System\Windows\Documents\NLGSpellerInterop.cs (1)
509
public int
Length
System\Windows\Documents\WinRTSpellerInterop.cs (1)
876
public int
Length
19 references to Length
PresentationFramework (19)
System\Windows\Documents\NLGSpellerInterop.cs (2)
645
public string Text => SourceString?.Substring(TextRange.Start, TextRange.
Length
);
877
endOffset = textRange.Start + textRange.
Length
;
System\Windows\Documents\Speller.cs (12)
879
if (sTextRange.Start + sTextRange.
Length
<= data.TextMap.ContentStartOffset)
891
if (sTextRange.
Length
> 1) // Ignore single letter errors
927
if (sTextRange.Start + sTextRange.
Length
<= data.TextMap.ContentStartOffset)
938
if (sTextRange.
Length
> 1) // Ignore single letter errors.
941
string word = new(data.TextMap.Text, sTextRange.Start, sTextRange.
Length
);
1037
if (sTextRange.Start + sTextRange.
Length
> textMap.ContentEndOffset)
1047
errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.
Length
);
1051
Invariant.Assert(sTextRange.Start + sTextRange.
Length
> textMap.ContentStartOffset);
1186
contextOffset = Math.Max(sTextRange.Start + sTextRange.
Length
, contentOffset);
1251
if (textMap.ContentStartOffset > sTextRange.Start + sTextRange.
Length
)
1253
leftWordBreak = sTextRange.Start + sTextRange.
Length
;
1265
rightWordBreak = sTextRange.Start + sTextRange.
Length
;
System\Windows\Documents\TextMapOffsetErrorLogger.cs (2)
88
Length = textSegment.
Length
156
/// instance containing <see cref="SpellerInteropBase.ITextRange.Start"/> and <see cref="SpellerInteropBase.ITextRange.
Length
"/> values.
System\Windows\Documents\WinRTSpellerInterop.cs (3)
860
this(textRange.Start, textRange.
Length
)
959
public string Text => SourceString?.Substring(TextRange.Start, TextRange.
Length
);
1073
endOffset = textRange.Start + textRange.
Length
;