Exemplo n.º 1
0
 /// <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();
     }
 }
Exemplo n.º 2
0
 /// <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();
     }
 }
Exemplo n.º 3
0
 protected override void OnVisibilityChange(bool visible)
 {
     Config.Instance.CodeExplorerVisible = visible;
     if (visible)
     {
         if (NotificationsPublisher.PluginIsReady)
         {
             ParserHandler.ParseDocumentAsap();
         }
     }
 }
Exemplo n.º 4
0
 private static void ImportKeywords(ConfLine conf)
 {
     Keywords.Instance.Import();
     ParserHandler.ParseDocumentAsap();
 }