forked from Botanical/BotanJS
FIND does not work properly due to 5311dc0
This commit is contained in:
@@ -134,14 +134,18 @@
|
||||
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();
|
||||
|
||||
// Because moveTo is a direct jump function
|
||||
// We'll have to auto reveal the target line here
|
||||
if( pline.lineNum != expLineNum )
|
||||
{
|
||||
this.moveY( expLineNum - pline.lineNum );
|
||||
pline = this.getLine();
|
||||
}
|
||||
|
||||
var jumpX = aPos < lineStart ? lineStart - aPos : aPos - lineStart;
|
||||
var kX = jumpX - pline.content.length;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user