SF.net SVN: geany:[3553] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Feb 5 20:02:54 UTC 2009


Revision: 3553
          http://geany.svn.sourceforge.net/geany/?rev=3553&view=rev
Author:   eht16
Date:     2009-02-05 20:02:54 +0000 (Thu, 05 Feb 2009)

Log Message:
-----------
Fix typo which caused wrong snippet completion (closes #2568588).

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-02-05 19:18:46 UTC (rev 3552)
+++ trunk/ChangeLog	2009-02-05 20:02:54 UTC (rev 3553)
@@ -11,6 +11,8 @@
  * src/msgwindow.c:
    Allow pressing Space/Enter in the compiler and messages treeviews
    to activate the selected item (closes #2555704).
+ * src/editor.c:
+   Fix typo which caused wrong snippet completion (closes #2568588).
 
 
 2009-02-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2009-02-05 19:18:46 UTC (rev 3552)
+++ trunk/src/editor.c	2009-02-05 20:02:54 UTC (rev 3553)
@@ -1998,7 +1998,7 @@
 	}
 	/* replace remaining %ws% and %newline% which may occur after the last %cursor% */
 	utils_string_replace_all(pattern, "%newline%", editor_get_eol_char(editor));
-	utils_string_replace_all(pattern, "%ws", whitespace);
+	utils_string_replace_all(pattern, "%ws%", whitespace);
 	g_free(whitespace);
 	/* We create a new list, where the cursor positions for the most recent
 	 * parsed snipped come first, followed by the remaining positions */


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