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)
4528
Assert.Equal(0, control.
GetFirstCharIndexFromLine
(lineNumber));
4538
Assert.Equal(0, control.
GetFirstCharIndexFromLine
(lineNumber));
4556
Assert.Equal(0, control.
GetFirstCharIndexFromLine
(lineNumber));
4577
Assert.Equal(0, control.
GetFirstCharIndexFromLine
(lineNumber));
4604
Assert.Equal(expected, control.
GetFirstCharIndexFromLine
(1));
4611
Assert.Throws<ArgumentOutOfRangeException>("lineNumber", () => control.
GetFirstCharIndexFromLine
(-1));