Fixed reverse FIND does not work properly

This commit is contained in:
2017-03-07 15:01:40 +08:00
parent 5311dc043d
commit 08865e062e
3 changed files with 25 additions and 2 deletions
+8 -1
View File
@@ -131,7 +131,14 @@
}
var jumpY = expLineNum - lastLineNum;
if( jumpY ) this.moveY( jumpY );
if( jumpY )
{
this.moveY( jumpY );
// Because moveTo is a direct jump function
// We'll auto reveal the target line here
if( this.feeder.moreAt == this.Y ) this.moveY( 1 );
}
pline = this.getLine();