Fix cursor hang when we want to move cursor on top line and this line is folded

To reproduce the problem, when vimode plugin is enabled:
Fold a few lines by clicking the "minus" icon.
Move the cursor to the bottom of these lines and try to move back to the top.
The cursor doesn't go back and seem to hang.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1326

-- Commit Summary --

  * Fix cursor hang when we want to move cursor on top line and this line is 
folded

-- File Changes --

    M vimode/src/cmds/motion.c (2)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/1326.patch
https://github.com/geany/geany-plugins/pull/1326.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1326
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/1...@github.com>

Reply via email to