9 references to GetLineIndex
System.Windows.Forms.Primitives (9)
System\Windows\Forms\Automation\UiaTextRange.cs (9)
208
int startIndex = _provider.
GetLineIndex
(startLine);
215
endIndex = _provider.
GetLineIndex
(endLine);
731
start = _provider.
GetLineIndex
(startLine);
739
end = _provider.
GetLineIndex
(endLine + 1); // Index of the next line is the end caret position of the previous line.
752
int lineStartIndex = lineIndex == startLine ? start : _provider.
GetLineIndex
(lineIndex);
764
: _provider.
GetLineIndex
(lineIndex + 1) - 1;
978
index = _provider.
GetLineIndex
(line + moved);
1106
bool firstLineEmpty = (lineMax == 0 || (lineMax > 1 && _provider.
GetLineIndex
(1) == LineSeparator.Length));
1119
index = _provider.
GetLineIndex
(line + actualCount) - LineSeparator.Length;