History stacks

This commit is contained in:
2016-04-02 18:35:12 +08:00
parent c7249c071c
commit 3ed7d2be84
6 changed files with 212 additions and 33 deletions

View File

@@ -11,7 +11,11 @@ Components.Vim.Controls.InputEvent.key;
Components.Vim.Controls.InputEvent.ModKeys;
/** @type Boolean */
Components.Vim.Controls.InputEvent.Escape;
/** @type Boolean */
Components.Vim.Controls.InputEvent.canceled;
/** @type Number */
Components.Vim.Controls.InputEvent.keyCode;
/** @type Function */
Components.Vim.Controls.InputEvent.kMap;
/** @type Function */
Components.Vim.Controls.InputEvent.cancel;

View File

@@ -0,0 +1,9 @@
/** @constructor */
Components.Vim.State.History = function(){};
/** @type Function */
Components.Vim.State.History.push;
/** @type Function */
Components.Vim.State.History.prev;
/** @type Function */
Components.Vim.State.History.next;