SF.net SVN: geany-plugins:[1343] trunk/geanylatex/src/latexenvironments.c

frlan at users.sourceforge.net frlan at xxxxx
Mon May 10 22:08:39 UTC 2010


Revision: 1343
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1343&view=rev
Author:   frlan
Date:     2010-05-10 22:08:39 +0000 (Mon, 10 May 2010)

Log Message:
-----------
GeanyLaTeX: Don't insert an extra \n as this is not wished in most cases

Modified Paths:
--------------
    trunk/geanylatex/src/latexenvironments.c

Modified: trunk/geanylatex/src/latexenvironments.c
===================================================================
--- trunk/geanylatex/src/latexenvironments.c	2010-05-10 22:08:11 UTC (rev 1342)
+++ trunk/geanylatex/src/latexenvironments.c	2010-05-10 22:08:39 UTC (rev 1343)
@@ -128,7 +128,7 @@
 			indent = sci_get_line_indentation(doc->editor->sci,
 				sci_get_line_from_position(doc->editor->sci, pos));
 
-			tmp = g_strdup_printf("\n\\end{%s}\n", environment);
+			tmp = g_strdup_printf("\n\\end{%s}", environment);
 			glatex_insert_string(tmp, FALSE);
 
 			prefs = editor_get_indent_prefs(doc->editor);


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



More information about the Plugins-Commits mailing list