Merge remote-tracking branch 'vim/master' into Astro

This commit is contained in:
2016-03-31 03:19:31 +08:00
16 changed files with 832 additions and 64 deletions

View File

@@ -3,6 +3,8 @@ Components.Vim.Controls.InputEvent = function(){};
/** @type {Components.Vim.VimArea} */
Components.Vim.Controls.InputEvent.target;
/** @type {Components.Vim.Syntax.TokenMatch} */
Components.Vim.Controls.InputEvent.range;
/** @type String */
Components.Vim.Controls.InputEvent.key;
/** @type Boolean */

View File

@@ -10,6 +10,8 @@ Components.Vim.Cursor.action;
/** @type {Components.Vim.State.Recorder} */
Components.Vim.Cursor.rec;
/** @type Function */
Components.Vim.Cursor.moveTo;
/** @type Function */
Components.Vim.Cursor.moveX;
/** @type Function */

View File

@@ -0,0 +1,13 @@
/** @constructor */
Components.Vim.Syntax.Analyzer = function(){};
/** @type Function */
Components.Vim.Syntax.Analyzer.bracketAt;
/** @type Function */
Components.Vim.Syntax.Analyzer.bracketIn;
/** @type Function */
Components.Vim.Syntax.Analyzer.wordAt;
/** @type Function */
Components.Vim.Syntax.Analyzer.quoteAt;
/** @type Function */
Components.Vim.Syntax.Analyzer.reset;

View File

@@ -0,0 +1,14 @@
/** @constructor */
Components.Vim.Syntax.TokenMatch = function(){};
/** @type {Components.Vim.Syntax.TokenMatch} */
Components.Vim.Syntax.TokenMatch.parent;
/** @type Number */
Components.Vim.Syntax.TokenMatch.open;
/** @type Number */
Components.Vim.Syntax.TokenMatch.close;
/** @type Number */
Components.Vim.Syntax.TokenMatch.level;
/** @type Number */
Components.Vim.Syntax.TokenMatch.selected;

View File

@@ -0,0 +1,5 @@
/** @constructor */
Components.Vim.Syntax.Word = function(){};
/** @type Function */
Components.Vim.Syntax.Word.test;

View File

@@ -0,0 +1,2 @@
/** @object */
Components.Vim.Syntax = {};

View File

@@ -3,6 +3,8 @@ Components.Vim.VimArea = function(){};
/** @type {Components.Vim.LineFeeder} */
Components.Vim.VimArea.contentFeeder;
/** @type {Components.Vim.Syntax.Analyzer} */
Components.Vim.VimArea.contentAnalyzer;
/** @type {Components.Vim.LineFeeder} */
Components.Vim.VimArea.statusFeeder;
/** @type {Components.Vim.StatusBar} */