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:
parent
910e4afb29
commit
467450fdce
@ -3,6 +3,9 @@
|
|||||||
* src/interface.c, geany.glade:
|
* src/interface.c, geany.glade:
|
||||||
Split Preferences dialog Interface tab into subnotebook to reduce
|
Split Preferences dialog Interface tab into subnotebook to reduce
|
||||||
height of dialog (fixes #3141277). Reuses existing strings.
|
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>
|
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
|
else
|
||||||
snippet_cursor_insert_pos += offset;
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user