mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-10 09:31:00 +00:00
Improve RemoveAllMultiCursors behavior
Use Deselect() in order to place the cursor at the beginning of the selection, not at the end of it, and to refresh its LastVisualX.
This commit is contained in:
parent
aa9c476b1e
commit
5c8bf6b3a6
1 changed files with 1 additions and 1 deletions
|
|
@ -1089,7 +1089,7 @@ func (b *Buffer) ClearCursors() {
|
|||
b.cursors = b.cursors[:1]
|
||||
b.UpdateCursors()
|
||||
b.curCursor = 0
|
||||
b.GetActiveCursor().ResetSelection()
|
||||
b.GetActiveCursor().Deselect(true)
|
||||
}
|
||||
|
||||
// MoveLinesUp moves the range of lines up one row
|
||||
|
|
|
|||
Loading…
Reference in a new issue