Exemplo n.º 1
0
        public void Execute()
        {
            scintilla.BeginUndoAction();
            var selections = GetSelections();
            var sumChanges = InsertGuids(selections);

            scintilla.EndUndoAction();

            var first      = selections.First();
            var totalDelta = new Position(sumChanges + first.Item2);

            scintilla.GotoPos(first.Item1 + totalDelta);
        }