> unless you let the tag manager index all project files plus all the 
> dependency files

What about loaded global tags types, won't they get coloured?

> I remember submitting a patch to Scintilla so it at least uses binary search 
> to check whether the word is in the keyword list but Neil wanted to have this 
> optimized for smaller number of keywords where the linear search won so the 
> patch wasn't accepted.

Apply the Geany solution (make it an option :grin:) to put the keywords in a 
`std::set`, then Neil can have his fast when small and you can have your 
fast(ish) when large.  But I would benchmark because of the cost of recreating 
the set each time we send new typenames.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3550#issuecomment-1714830921
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3550/[email protected]>

Reply via email to