<p>I guess this will fix it, doesn't it?<br>
diff --git a/geanylatex/src/latexstructure.c b/geanylatex/src/latexstructure.c</p>
<pre><code>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);
}
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/issues/455#issuecomment-228558336">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ2_FUcOrriBObaGemkXM9vrlsysQks5qPV-vgaJpZM4I-YAd">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ1TG2A0VAoIYvsizdPvrsVtTfGMHks5qPV-vgaJpZM4I-YAd.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/geany/geany-plugins/issues/455#issuecomment-228558336"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>