Revision: 1230 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1230&view=re... Author: frlan Date: 2010-04-10 19:45:54 +0000 (Sat, 10 Apr 2010)
Log Message: ----------- GeanyLaTeX: Set undo markers for inserting a bibTeX entry to ensure undo is working as expected.
Modified Paths: -------------- trunk/geanylatex/src/bibtex.c
Modified: trunk/geanylatex/src/bibtex.c =================================================================== --- trunk/geanylatex/src/bibtex.c 2010-04-10 19:45:17 UTC (rev 1229) +++ trunk/geanylatex/src/bibtex.c 2010-04-10 19:45:54 UTC (rev 1230) @@ -180,7 +180,9 @@ g_string_append(output, "}"); g_string_append(output, eol); tmp = g_string_free(output, FALSE); + sci_start_undo_action(doc->editor->sci); glatex_insert_string(tmp, FALSE); + sci_end_undo_action(doc->editor->sci); g_free(tmp); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.