SelectReset resets the selection
()
| 227 | |
| 228 | // SelectReset resets the selection |
| 229 | func (ed *Editor) SelectReset() { |
| 230 | ed.selectMode = false |
| 231 | if !ed.HasSelection() { |
| 232 | return |
| 233 | } |
| 234 | ed.SelectRegion = text.RegionNil |
| 235 | ed.previousSelectRegion = text.RegionNil |
| 236 | } |
| 237 | |
| 238 | /////////////////////////////////////////////////////////////////////////////// |
| 239 | // Cut / Copy / Paste |
no test coverage detected