From 3db6a5d0b09d0638c96e59b76d82b0c348f91640 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: Thu, 7 Apr 2016 03:01:21 +0800 Subject: [PATCH] wrong col info --- botanjs/src/Components/Vim/LineFeeder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botanjs/src/Components/Vim/LineFeeder.js b/botanjs/src/Components/Vim/LineFeeder.js index 07a2bec..95b5ab4 100644 --- a/botanjs/src/Components/Vim/LineFeeder.js +++ b/botanjs/src/Components/Vim/LineFeeder.js @@ -217,7 +217,7 @@ if( tabs ) { - tabStat = "-" + ( X + tabs.length * line.tabWidth ); + tabStat = "-" + ( X + tabs.length * ( line.tabWidth - 1 ) ); } return ( line.lineNum + 1 ) + "," + X + tabStat;