7 references to GetFirstCharIndexFromLine
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
443
public int GetFirstCharIndexFromLine(int lineNumber) { return TextBox.
GetFirstCharIndexFromLine
(lineNumber); }
System.Windows.Forms.Tests (6)
TextBoxBaseTests.cs (6)
4530
Assert.Equal(0, control.
GetFirstCharIndexFromLine
(lineNumber));
4540
Assert.Equal(0, control.
GetFirstCharIndexFromLine
(lineNumber));
4558
Assert.Equal(0, control.
GetFirstCharIndexFromLine
(lineNumber));
4579
Assert.Equal(0, control.
GetFirstCharIndexFromLine
(lineNumber));
4606
Assert.Equal(expected, control.
GetFirstCharIndexFromLine
(1));
4613
Assert.Throws<ArgumentOutOfRangeException>("lineNumber", () => control.
GetFirstCharIndexFromLine
(-1));