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

frlan at users.sourceforge.net frlan at xxxxx
Wed May 5 21:10:29 UTC 2010


Revision: 1335
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1335&view=rev
Author:   frlan
Date:     2010-05-05 21:10:29 +0000 (Wed, 05 May 2010)

Log Message:
-----------
GeanyLaTeX: Remove debug output

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

Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c	2010-05-04 22:36:53 UTC (rev 1334)
+++ trunk/geanylatex/src/geanylatex.c	2010-05-05 21:10:29 UTC (rev 1335)
@@ -502,7 +502,6 @@
 								end_construct = g_strdup_printf("\\end%s{%s}", full_cmd, env);
 								if (strstr(tmp, end_construct) != NULL)
 								{
-									g_warning ("was gefunden");
 									/* Clean up everything and quit as nothing
 									 * needs to be done */
 									g_free(tmp);
@@ -524,9 +523,8 @@
 							construct = g_strdup_printf("\t\n\\end%s{%s}", full_cmd, env);
 							editor_insert_text_block(editor, construct, pos,
 								1, -1, TRUE);
-							sci_set_line_indentation(
-								sci,
-								sci_get_current_line(sci) + 1,
+							/* ... and setting the indention */ 
+							sci_set_line_indentation(sci, sci_get_current_line(sci) + 1,
 								indent);
 							g_free(construct);
 						}


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