Пример #1
0
 public void Reset()
 {
     _tags.Clear();
     root      = new HistoryNode(null, 0);
     head      = new CommandTag(_nextTagIndex++);
     head.Prev = root;
     _tags.Add(head);
 }
Пример #2
0
        public void AddInList(Keys keys, Keys?modeKeys, KeyAction action)
        {
            KeyItem item = new KeyItem(keys, modeKeys, action);

            map.AddItem(item);
            list.Add(NamedAction.OfKeyItem(item));
        }