ResetSelection resets the user's selection
()
| 153 | |
| 154 | // ResetSelection resets the user's selection |
| 155 | func (c *Cursor) ResetSelection() { |
| 156 | c.CurSelection[0] = c.buf.Start() |
| 157 | c.CurSelection[1] = c.buf.Start() |
| 158 | } |
| 159 | |
| 160 | // SetSelectionStart sets the start of the selection |
| 161 | func (c *Cursor) SetSelectionStart(pos Loc) { |
no test coverage detected