[Github-comments] [geany/geany-plugins] Dangerous use of undo grouping (#455)
Frank Lanitz
notifications at xxxxx
Sat Jun 25 17:04:47 UTC 2016
I guess this will fix it, doesn't it?
diff --git a/geanylatex/src/latexstructure.c b/geanylatex/src/latexstructure.c
```
index b06a9d2..f16cd38 100644
--- a/geanylatex/src/latexstructure.c
+++ b/geanylatex/src/latexstructure.c
@@ -94,11 +94,10 @@ void glatex_structure_lvlup(void)
haystack = NULL;
sci_replace_sel(doc->editor->sci, tmp);
g_free(tmp);
- sci_end_undo_action(doc->editor->sci);
break;
}
}
-
+ sci_end_undo_action(doc->editor->sci);
if (haystack != NULL)
g_string_free(haystack, TRUE);
}
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/455#issuecomment-228558336
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160625/1e689d4e/attachment.html>
More information about the Github-comments
mailing list