[Github-comments] [geany/geany-plugins] LaTeX plugin: Keyboard shurtcuts for itemize and enumerate generate wrong result (#1071)

Frank Lanitz notifications at xxxxx
Thu May 13 12:13:55 UTC 2021


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);
	}
}
```

-- 
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/1071#issuecomment-840516030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210513/2dda1fcf/attachment.htm>


More information about the Github-comments mailing list