Aaiu, cursor position

This commit is contained in:
2016-03-19 19:05:07 +08:00
parent b17ca21420
commit dc63a882e3
3 changed files with 46 additions and 11 deletions
+7 -4
View File
@@ -112,11 +112,14 @@
var buffs = this.feeder.lineBuffers;
if( penentrate && x < 0 && ( 0 < this.feeder.panY || 0 < this.Y ) )
if( penentrate )
{
this.moveY( -1 );
this.lineEnd( phantomSpace );
return;
if( x < 0 && ( 0 < this.feeder.panY || 0 < this.Y ) )
{
this.moveY( -1 );
this.lineEnd( phantomSpace );
return;
}
}
/** @type {Components.Vim.LineBuffer} */