mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-25 18:07:07 +09:00
cursor: Remove selection reduction by one character on Deselect()
This commit is contained in:
@@ -293,7 +293,6 @@ func (h *BufPane) CursorLeft() bool {
|
||||
func (h *BufPane) CursorRight() bool {
|
||||
if h.Cursor.HasSelection() {
|
||||
h.Cursor.Deselect(false)
|
||||
h.Cursor.Right()
|
||||
} else {
|
||||
tabstospaces := h.Buf.Settings["tabstospaces"].(bool)
|
||||
tabmovement := h.Buf.Settings["tabmovement"].(bool)
|
||||
|
||||
Reference in New Issue
Block a user