The parser identifies each one of these (except plain text) as different kinds. Additionally, it has chapter, section, subsection and subsubsection, but I guess these are only for navigation, so that the user can quickly jump to different parts of the document.
Yeah, I guess the programming language model of symbol types is being somewhat stretched here, but hey programming languages don't have free text in them either :)
Currently, geany is capable of omitting autocomplete inside strings and comments. So if plain text is treated as a string by this function, autocomplete would be disabled for it. Then it would be possible to remove \ from wordchars in editor.c as well as the LaTeX-specific portion to separate macros.
Sounds like a plan.
`highlighting_is_string_style()` does not currently have a latex section, so nothing should be relying on its behaviour, and so changing it should not break stuff.
--- 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-215382341