[Github-comments] [geany/geany] Highlighting Failure after replace all (#1020)

Jiří Techet notifications at xxxxx
Wed May 4 10:34:31 UTC 2016


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


More information about the Github-comments mailing list