Sorry for the late reaction ;)
To be honest I have not even an idea what might cause that issue. This function is actually done by building up a string
```C if (type == GLATEX_ENVIRONMENT_TYPE_LIST) { g_string_append(tmpstring, "\t\item "); } ``` and than later
```C GeanyDocument *doc = NULL;
doc = document_get_current();
if (doc != NULL && string != NULL) { … editor_insert_text_block(doc->editor, string, pos, len, 0, TRUE); } } ```