ScintillaNET.SnippetManager.Scintilla_BeforeTextInsert C# (CSharp) Method

Scintilla_BeforeTextInsert() private method

private Scintilla_BeforeTextInsert ( object sender, ScintillaNET.TextModifiedEventArgs e ) : void
sender object
e ScintillaNET.TextModifiedEventArgs
return void
        private void Scintilla_BeforeTextInsert(object sender, TextModifiedEventArgs e)
        {
            if (_snippetLinks.IsActive && !_pendingUndo && !(e.UndoRedoFlags.IsUndo || e.UndoRedoFlags.IsRedo))
            {
                _pendingUndo = true;
                Scintilla.UndoRedo.BeginUndoAction();
                _snippetLinkTimer.Enabled = true;
            }
        }