/// <summary> /// Called when the text in scintilla is modified (added/deleted) by the user (called after UI update) /// </summary> public static void OnTextModified(SCNotification nc, bool insertedText, bool deletedText, bool singleCharModification, bool undo, bool redo) { ParserHandler.ParseDocumentAsap(); if (!singleCharModification) { ClosePopups(); } }
/// <summary> /// called when the user scrolls.. /// </summary> public static void OnPageScrolled() { ClosePopups(); // parse the current part of the document if (!Npp.CurrentFileInfo.IsProgress) { ParserHandler.ParseDocumentAsap(); } }
protected override void OnVisibilityChange(bool visible) { Config.Instance.CodeExplorerVisible = visible; if (visible) { if (NotificationsPublisher.PluginIsReady) { ParserHandler.ParseDocumentAsap(); } } }
private static void ImportKeywords(ConfLine conf) { Keywords.Instance.Import(); ParserHandler.ParseDocumentAsap(); }