Kaydet (Commit) 467450fd authored tarafından Nick Treleaven's avatar Nick Treleaven

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
üst 910e4afb
......@@ -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>
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment