penguin/AstroJS

Javascript framework for my blog

commit 3db6a5d0b09d0638c96e59b76d82b0c348f91640

author斟酌 鵬兄 <tgckpg@gmail.com>
date2016-04-06T19:01:21Z
subjectwrong col info
commit 3db6a5d0b09d0638c96e59b76d82b0c348f91640
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date:   2016-04-06T19:01:21Z

    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;