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

Colomban Wendling notifications at xxxxx
Thu Sep 15 09:07:55 UTC 2016


@ekextr using Scintilla word lists for that is unrealistic in the current state of things, it's way too slow.  I tried populating the list of C preprocessor symbols in a plugin, with all the macros definitions, and it caused very annoying slowdowns.  Nothing causing a lockup, but way enough to be noticeable and annoying.
So I'd think that the very same kind of problem would show with a very large list of function names.  Possibly worse as there are a lot more identifiers to check against.  Or possibly less because there's nothing to further compute.
Anyway, I think before searching down this path testing how Scintilla can cope with a *huge* keyword list is needed.

Also, as there is actual syntax for function declarations and call, it might make more sense to highlight that syntax rather than known function names.

-- 
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-247276100
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160915/74e07661/attachment.html>


More information about the Github-comments mailing list