Insert text at the current caret position.
(t *testing.T, text string)
| 3690 | |
| 3691 | // Insert text at the current caret position. |
| 3692 | func (f *FourslashTest) Insert(t *testing.T, text string) { |
| 3693 | t.Helper() |
| 3694 | f.baselineState(t) |
| 3695 | f.typeText(t, text) |
| 3696 | } |
| 3697 | |
| 3698 | // Insert text and a new line at the current caret position. |
| 3699 | func (f *FourslashTest) InsertLine(t *testing.T, text string) { |