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