2 implementations of Length
PresentationFramework (2)
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (1)
582
public int
Length
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
971
public int
Length
15 references to Length
PresentationFramework (15)
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (1)
999
endOffset = textRange.Start + textRange.
Length
;
src\Framework\System\Windows\Documents\Speller.cs (13)
958
if (sTextRange.Start + sTextRange.
Length
<= data.TextMap.ContentStartOffset)
970
if (sTextRange.
Length
> 1) // Ignore single letter errors
1007
if (sTextRange.Start + sTextRange.
Length
<= data.TextMap.ContentStartOffset)
1018
if (sTextRange.
Length
> 1) // Ignore single letter errors.
1021
word = new char[sTextRange.
Length
];
1022
Array.Copy(data.TextMap.Text, sTextRange.Start, word, 0, sTextRange.
Length
);
1118
if (sTextRange.Start + sTextRange.
Length
> textMap.ContentEndOffset)
1128
errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.
Length
);
1132
Invariant.Assert(sTextRange.Start + sTextRange.
Length
> textMap.ContentStartOffset);
1272
contextOffset = Math.Max(sTextRange.Start + sTextRange.
Length
, contentOffset);
1337
if (textMap.ContentStartOffset > sTextRange.Start + sTextRange.
Length
)
1339
leftWordBreak = sTextRange.Start + sTextRange.
Length
;
1351
rightWordBreak = sTextRange.Start + sTextRange.
Length
;
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
1166
endOffset = textRange.Start + textRange.
Length
;