@eht16 commented on this pull request.


> -                     tmp = g_strdup_printf("\n\\end{%s}", environment);
-                       glatex_insert_string(tmp, FALSE);
-                       g_free(tmp);
-
-                       indention_prefs = editor_get_indent_prefs(doc->editor);
-                       if (type == GLATEX_ENVIRONMENT_TYPE_LIST)
-                       {
-                               sci_set_line_indentation(doc->editor->sci,
-                                       sci_get_current_line(doc->editor->sci),
-                                       indent + indention_prefs->width);
+                               if (type == GLATEX_ENVIRONMENT_TYPE_LIST)
+                               {
+                                       tmpstring = g_strconcat(
+                                               "\\begin{",
+                                               environment,
+                                               "}\n\t\\item %cursor% \n\\end{",

There is still a trailing space.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1330#pullrequestreview-2025456762
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/1330/review/[email protected]>

Reply via email to