Scroll to the current line when moving the cursor to the next

cursor position in a snippet (#3139490).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5495 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2010-12-22 13:44:41 +00:00
parent 910e4afb29
commit 467450fdce
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,9 @@
* src/interface.c, geany.glade:
Split Preferences dialog Interface tab into subnotebook to reduce
height of dialog (fixes #3141277). Reuses existing strings.
* src/editor.c:
Scroll to the current line when moving the cursor to the next
cursor position in a snippet (#3139490).
2010-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

View File

@ -2427,7 +2427,7 @@ void editor_goto_next_snippet_cursor(GeanyEditor *editor)
else
snippet_cursor_insert_pos += offset;
sci_set_current_position(sci, snippet_cursor_insert_pos, FALSE);
sci_set_current_position(sci, snippet_cursor_insert_pos, TRUE);
}
else
{