SetSelectionEnd sets the end of the selection
(pos Loc)
| 164 | |
| 165 | // SetSelectionEnd sets the end of the selection |
| 166 | func (c *Cursor) SetSelectionEnd(pos Loc) { |
| 167 | c.CurSelection[1] = pos |
| 168 | } |
| 169 | |
| 170 | // HasSelection returns whether or not the user has selected anything |
| 171 | func (c *Cursor) HasSelection() bool { |
no outgoing calls