I've committed https://github.com/geany/geany/pull/1022 which should hopefully 
fix this issue. @elextr would you give it a try? I can't completely reproduce 
it here.

> @techee can you look at how to fix, as I said on #575 we NEED the whole 
> document re-highlighted if the wordlists change, otherwise Geany operations 
> that use highlighting to guide them will fail.

As far as I can tell, there's nothing in Geany relying on the highlighting 
information - I believe it's sufficient to let Scintilla highlight the 
invisible parts of the document lazily as it gets scrolled.

What is needed is to get the whole document lexed at the beginning to get the 
fold points right. However, subsequent edits should update fold information in 
scintilla so full relexing shouldn't be needed after 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/1020#issuecomment-216824260

Reply via email to