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