Migrate old externs 9/x

This commit is contained in:
2026-06-17 20:48:46 +08:00
parent 00fe7ca3bb
commit 01d4eb09a6
66 changed files with 708 additions and 420 deletions
+7 -1
View File
@@ -14,7 +14,11 @@
return str.replace( "\t", "^I" ).replace( "\n", "^J" );
};
/** @type {Components.Vim.IAction} */
/**
* @constructor
* @implements {Components.Vim.IAction}
* @param {Components.Vim.Cursor} Cursor
*/
var QUIT = function( Cursor )
{
/** @type {Components.Vim.Cursor} */
@@ -28,6 +32,8 @@
this.__cursor.unsuppressEvent();
};
QUIT.prototype.allowMovement = false;
QUIT.prototype.handler = function( e, p )
{
e.preventDefault();