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)
882
if (sTextRange.Start + sTextRange.
Length
<= data.TextMap.ContentStartOffset)
894
if (sTextRange.
Length
> 1) // Ignore single letter errors
930
if (sTextRange.Start + sTextRange.
Length
<= data.TextMap.ContentStartOffset)
941
if (sTextRange.
Length
> 1) // Ignore single letter errors.
944
string word = new(data.TextMap.Text, sTextRange.Start, sTextRange.
Length
);
1040
if (sTextRange.Start + sTextRange.
Length
> textMap.ContentEndOffset)
1050
errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.
Length
);
1054
Invariant.Assert(sTextRange.Start + sTextRange.
Length
> textMap.ContentStartOffset);
1189
contextOffset = Math.Max(sTextRange.Start + sTextRange.
Length
, contentOffset);
1254
if (textMap.ContentStartOffset > sTextRange.Start + sTextRange.
Length
)
1256
leftWordBreak = sTextRange.Start + sTextRange.
Length
;
1268
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
;