From e81fe5cc37e31adb116cbadd59669d9960ad16b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Tue, 31 Jan 2017 11:54:53 +0800 Subject: [PATCH] Fix VA_REC broken by changes of DELETE --- botanjs/src/Components/Vim/Actions/DELETE.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botanjs/src/Components/Vim/Actions/DELETE.js b/botanjs/src/Components/Vim/Actions/DELETE.js index 6f1d33d..bf675da 100644 --- a/botanjs/src/Components/Vim/Actions/DELETE.js +++ b/botanjs/src/Components/Vim/Actions/DELETE.js @@ -23,7 +23,7 @@ this.__startX = Cursor.aPos; this.__panY = this.__cursor.feeder.panY; - this.__cMode = e.kMap( "c" ); + this.__cMode = e && e.kMap( "c" ); this.__cMode_c = false; this.__enterEvent = e;