Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: GitHub noreply@github.com Date: Sun, 12 Aug 2018 08:46:02 UTC Commit: c458ad69635c2b5bf22e63b06c0c63ce377e5b20 https://github.com/geany/geany-plugins/commit/c458ad69635c2b5bf22e63b06c0c63...
Log Message: ----------- Merge pull request #748 from pcworld/vimode-gotodown-fix
vimode: Fix goto_down with line wrapping
Modified Paths: -------------- vimode/src/cmds/motion.c
Modified: vimode/src/cmds/motion.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -78,7 +78,7 @@ static void goto_down(CmdParams *p, gint num) /* see cmd_goto_up() for explanation */ one_above = p->line + num - 1; one_above = one_above < last_line ? one_above : last_line - 1; - pos = SSM(p->sci, SCI_POSITIONFROMLINE, one_above, 0); + pos = SSM(p->sci, SCI_GETLINEENDPOSITION, one_above, 0); SET_POS_NOX(p->sci, pos, FALSE); SSM(p->sci, SCI_LINEDOWN, 0, 0); }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).