[geany/geany] a8e8e2: Merge pull request #312 from elextr/reflow_fix
elextr
git-noreply at xxxxx
Tue Aug 19 08:05:38 UTC 2014
Branch: refs/heads/master
Author: elextr <elextr at gmail.com>
Committer: elextr <elextr at gmail.com>
Date: Tue, 19 Aug 2014 08:05:38 UTC
Commit: a8e8e2cd9e34d91fb769101cdcda8f696ce067ae
https://github.com/geany/geany/commit/a8e8e2cd9e34d91fb769101cdcda8f696ce067ae
Log Message:
-----------
Merge pull request #312 from elextr/reflow_fix
Make reflow paragraph leave cursor at end of reflowed text, which is more likely to be useful than where it was left at the start of the last line.
Modified Paths:
--------------
src/keybindings.c
Modified: src/keybindings.c
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -2270,6 +2270,7 @@ static void reflow_paragraph(GeanyEditor *editor)
reflow_lines(editor, column);
if (!sel)
sci_set_anchor(sci, -1);
+ sci_goto_pos(sci, sci_get_line_end_position(sci, sci_get_current_line(sci)), TRUE);
sci_end_undo_action(sci);
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list