When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.
There is one issue with permanently highlighting.The highlighting will occurr (most of the times) first after clicking into the file (if it is already opened and not the active one).It's the same when permanently highlighting is turned off for a word: in actual file highlighting is removed immediately, in open files it is removed after clicking into the file at any place.I can look into it tomorrow, if you want.
Index: src/plugins/occurrenceshighlighting/highlighter.cpp===================================================================--- src/plugins/occurrenceshighlighting/highlighter.cpp+++ src/plugins/occurrenceshighlighting/highlighter.cpp@@ -33,7 +33,8 @@ if ( Manager::Get()->GetEditorManager()->GetActiveEditor() != ctrl ) return; // check the event type if it is an update event- if ( event.GetEventType() == wxEVT_SCI_UPDATEUI )+ if ( event.GetEventType() == wxEVT_SCI_UPDATEUI ||+ event.GetEventType() == wxEVT_SCI_PAINTED) { HighlightOccurrencesOfSelection(ctrl); OnEditorUpdateUI(ctrl);
Next updated patch.
Quote from: jens on July 31, 2013, 03:04:01 amNext updated patch.This one applies safely for me. I believe it covers 2+3?
Any comments, issues or whatever ?