mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-15 03:41:02 +00:00
Merge pull request #767 from yannicka/master
Move current line down/up: cursor stay with moved line
This commit is contained in:
commit
2024b8b2c2
1 changed files with 0 additions and 2 deletions
|
|
@ -1165,7 +1165,6 @@ func (v *View) MoveLinesUp(usePlugin bool) bool {
|
|||
v.Cursor.Loc.Y,
|
||||
v.Cursor.Loc.Y+1,
|
||||
)
|
||||
v.Cursor.UpN(1)
|
||||
messenger.Message("Moved up current line")
|
||||
}
|
||||
v.Buf.IsModified = true
|
||||
|
|
@ -1204,7 +1203,6 @@ func (v *View) MoveLinesDown(usePlugin bool) bool {
|
|||
v.Cursor.Loc.Y,
|
||||
v.Cursor.Loc.Y+1,
|
||||
)
|
||||
v.Cursor.DownN(1)
|
||||
messenger.Message("Moved down current line")
|
||||
}
|
||||
v.Buf.IsModified = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue