StartUpdate() public static method

public static StartUpdate ( TextDocument doc, Mono.TextEditor.Highlighting.SyntaxMode mode, int startOffset, int endOffset ) : void
doc TextDocument
mode Mono.TextEditor.Highlighting.SyntaxMode
startOffset int
endOffset int
return void
Exemplo n.º 1
0
 void HandleTextReplaced(object sender, DocumentChangeEventArgs e)
 {
     if (doc == null || doc.SuppressHighlightUpdate || doc.CurrentAtomicUndoOperationType == OperationType.Format)
     {
         return;
     }
     SyntaxModeService.StartUpdate(doc, this, e.Offset, e.Offset + e.InsertionLength);
 }
Exemplo n.º 2
0
 public void UpdateDocumentHighlighting()
 {
     if (doc == null || doc.SuppressHighlightUpdate)
     {
         return;
     }
     SyntaxModeService.StartUpdate(doc, this, 0, doc.TextLength);
 }
Exemplo n.º 3
0
 void HandleTextSet(object sender, EventArgs e)
 {
     if (doc == null || doc.SuppressHighlightUpdate)
     {
         return;
     }
     SyntaxModeService.StartUpdate(doc, this, 0, doc.TextLength);
 }