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

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