[geany/geany] 9df961: Scroll cursor in view after line breaking
Nick Treleaven
git-noreply at geany.org
Thu Nov 15 15:40:05 UTC 2012
Branch: refs/heads/master
Author: Nick Treleaven <nick.treleaven at btinternet.com>
Committer: Nick Treleaven <nick.treleaven at btinternet.com>
Date: Thu, 15 Nov 2012 15:40:05 UTC
Commit: 9df961f8c580ad0546c28fa185372140d16c1d1c
https://github.com/geany/geany/commit/9df961f8c580ad0546c28fa185372140d16c1d1c
Log Message:
-----------
Scroll cursor in view after line breaking
Modified Paths:
--------------
src/editor.c
Modified: src/editor.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -600,7 +600,7 @@ static void check_line_breaking(GeanyEditor *editor, gint pos, gchar c)
/* last column - distance is the desired column, then retrieve its document position */
pos = SSM(sci, SCI_FINDCOLUMN, line, last_col - diff);
sci_set_current_position(sci, pos, FALSE);
-
+ sci_scroll_caret(sci);
return;
}
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list