[Github-comments] [geany/geany] LaTeX autocompletion not working for macros (#1000)

Marcelo Garlet Millani notifications at xxxxx
Mon Apr 18 07:10:21 UTC 2016


> AFAICT when you type `\macr` the current code searches backwards to find the prefix to lookup in the symbols. What adding the backslash to wordchars does is to include the backslash as part of the symbol prefix, so it is never found in the symbols since they are stored without the backslash​.

But the problem of autocompleting words not preceded by `\` is unaffected. And since a LaTeX document normally has more text than macros, this can be quite annoying.

> I havn't looked at the geanylatex plugin, but I don't think it does anything for autocomplete.​

Well, it does have something for autocomplete [here](https://github.com/geany/geany-plugins/blob/master/geanylatex/src/geanylatex.c#L515), but it seems to be only for things like automatically inserting braces.

---
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/issues/1000#issuecomment-211237976
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160418/4c16238f/attachment.html>


More information about the Github-comments mailing list