This MR migrates the feature to insert any environment over to Geany's snippets workflow. Hence we don't need to bother about indention, like breaks etc. this much anymore. Also due to the cursor-feature it ensures to position the cursor at the right place , independent from the line break, indention etc.
Due to this rework it makes the code also a little more readable and fixes #1071 You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1330
-- Commit Summary --
* LaTeX: Switch handling of insert (list) envioronment over to snippets workflow
-- File Changes --
M latex/src/latexenvironments.c (58) M latex/src/latexutils.c (12) M latex/src/latexutils.h (1)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1330.patch https://github.com/geany/geany-plugins/pull/1330.diff