SF.net SVN: geany:[5958] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Mon Sep 26 16:18:36 UTC 2011
Revision: 5958
http://geany.svn.sourceforge.net/geany/?rev=5958&view=rev
Author: ntrel
Date: 2011-09-26 16:18:36 +0000 (Mon, 26 Sep 2011)
Log Message:
-----------
Fix not converting \n to document line endings in snippets.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/editor.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2011-09-24 20:32:37 UTC (rev 5957)
+++ trunk/ChangeLog 2011-09-26 16:18:36 UTC (rev 5958)
@@ -1,3 +1,9 @@
+2011-09-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/editor.c:
+ Fix not converting \n to document line endings in snippets.
+
+
2011-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c, src/keyfile.c, src/keyfile.h, src/ui_utils.c:
Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c 2011-09-24 20:32:37 UTC (rev 5957)
+++ trunk/src/editor.c 2011-09-26 16:18:36 UTC (rev 5958)
@@ -5059,6 +5059,6 @@
pattern = g_string_new(snippet);
snippets_make_replacements(editor, pattern);
- editor_insert_text_block(editor, pattern->str, pos, -1, -1, FALSE);
+ editor_insert_text_block(editor, pattern->str, pos, -1, -1, TRUE);
g_string_free(pattern, TRUE);
}
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