@techee I apologise if I wasn't clear, the highlighting has to be done *after the parser has run* after the replace has been done. Otherwise the new name isn't in the wordlist and it doesn't highlight.
I can't test until tomorrow, but I suspect that it won't work for the reason above.
I could get it to repeatedly fail by doing a replace-all of a typename that is used enough that there are occurrences off screen after Scintilla scrolls to the last replacement.
--- 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/1022#issuecomment-216830438