SF.net SVN: geany:[5495] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Wed Dec 22 13:44:42 UTC 2010


Revision: 5495
          http://geany.svn.sourceforge.net/geany/?rev=5495&view=rev
Author:   ntrel
Date:     2010-12-22 13:44:41 +0000 (Wed, 22 Dec 2010)

Log Message:
-----------
Scroll to the current line when moving the cursor to the next
cursor position in a snippet (#3139490).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/editor.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-12-22 13:18:26 UTC (rev 5494)
+++ trunk/ChangeLog	2010-12-22 13:44:41 UTC (rev 5495)
@@ -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>

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2010-12-22 13:18:26 UTC (rev 5494)
+++ trunk/src/editor.c	2010-12-22 13:44:41 UTC (rev 5495)
@@ -2427,7 +2427,7 @@
 		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
 	{


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list