SF.net SVN: geany: [2294] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Feb 28 16:41:24 UTC 2008


Revision: 2294
          http://geany.svn.sourceforge.net/geany/?rev=2294&view=rev
Author:   eht16
Date:     2008-02-28 08:41:23 -0800 (Thu, 28 Feb 2008)

Log Message:
-----------
Make Scintilla remember the current column when changing the cursor position (#1902732).

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-02-28 16:06:04 UTC (rev 2293)
+++ trunk/ChangeLog	2008-02-28 16:41:23 UTC (rev 2294)
@@ -3,6 +3,8 @@
  * src/utils.c, src/utils.h, tagmanager/parse.h:
    Replace unsigned long in guint64 and use int instead of off_t
    (patch by Daniel Richard G., thanks).
+ * src/sciwrappers.c: Make Scintilla remember the current column when
+                      changing the cursor position (#1902732).
 
 
 2008-02-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/sciwrappers.c
===================================================================
--- trunk/src/sciwrappers.c	2008-02-28 16:06:04 UTC (rev 2293)
+++ trunk/src/sciwrappers.c	2008-02-28 16:41:23 UTC (rev 2294)
@@ -398,6 +398,7 @@
 		SSM(sci, SCI_SETCURRENTPOS, position, 0);
 		SSM(sci, SCI_SETANCHOR, position, 0); /* to avoid creation of a selection */
 	}
+	SSM(sci, SCI_CHOOSECARETX, 0, 0);
 }
 
 


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