YN callbacks and better multi cursor

This commit is contained in:
Zachary Yedidia
2019-01-04 21:48:19 -05:00
parent 1ac4a8e7d3
commit 16e5f55323
5 changed files with 86 additions and 36 deletions

View File

@@ -167,7 +167,7 @@ func (c *Cursor) Deselect(start bool) {
if start {
c.Loc = c.CurSelection[0]
} else {
c.Loc = c.CurSelection[1]
c.Loc = c.CurSelection[1].Move(-1, c.buf)
}
c.ResetSelection()
c.StoreVisualX()