[Github-comments] [geany/geany] Latex ac (#1011)

Marcelo Garlet Millani notifications at xxxxx
Tue May 3 17:50:34 UTC 2016


Now plain text is treated as string, so there is no longer any need for LaTeX-specific treatment in editor.c (other than defining wordchar). I had to slightly change the lexer so that `@` would be recognized as part of a command. I submitted the changes to the scintilla repository, but haven't received any answer yet.

The main problem now is that there is no autocomplete for labels, since they are treated as plain text by the lexer. Without changing scintilla, I'm afraid it would be complicated to fix this. However, it is common practice in LaTeX to name labels like `fig:my_plot`, so the user can type `fig:` and then force autocomplete, which will correctly show the adequate suggestions.

---
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/pull/1011#issuecomment-216610269
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160503/370a8ae8/attachment.html>


More information about the Github-comments mailing list