[Github-comments] [geany/geany] Highlight C function names (patch available) (#1231)

Colomban Wendling notifications at xxxxx
Thu Sep 15 09:56:10 UTC 2016


Also, using a list of names can indeed highlight more locations, but OTOH it has many other shortcomings:
* not syntax-based, which you don't currently like for type names: how would it really be different here?
* bound to only highlight *known* names, so like for typenames it's unreliable as a visual clue as it's inconsistent.
* as said, requires a way to feed the lexer with a very large list of names (probably at least a few hundred thousands, each names probably about 16 chars long in an optimistic scenario -- who said currently it means building a 2M string?), and the lexer to use that list, both in an efficient enough manner so it can reasonably be done whenever the list of functions names changes (which can happen on every keystroke).

-- 
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/1231#issuecomment-247286305
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160915/2b1ef8e2/attachment.html>


More information about the Github-comments mailing list