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