forked from Botanical/BotanJS
Fixed autoIndent by tab pos error
This commit is contained in:
parent
50686073d8
commit
4b200697dc
@ -197,7 +197,7 @@
|
|||||||
{
|
{
|
||||||
this.__realizeIndent();
|
this.__realizeIndent();
|
||||||
feeder.pan();
|
feeder.pan();
|
||||||
cur.moveX( 1, false, true );
|
cur.moveX( inputChar == "\t" ? feeder.firstBuffer.tabWidth : 1, false, true );
|
||||||
}
|
}
|
||||||
|
|
||||||
feeder.dispatcher.dispatchEvent( new BotanEvent( "VisualUpdate" ) );
|
feeder.dispatcher.dispatchEvent( new BotanEvent( "VisualUpdate" ) );
|
||||||
@ -262,7 +262,7 @@
|
|||||||
|
|
||||||
feeder.softReset();
|
feeder.softReset();
|
||||||
feeder.pan();
|
feeder.pan();
|
||||||
cur.moveX( i, false, true );
|
cur.moveX( i * feeder.firstBuffer.tabWidth, false, true );
|
||||||
|
|
||||||
var a = [];
|
var a = [];
|
||||||
a[ IN_START ] = f;
|
a[ IN_START ] = f;
|
||||||
|
Loading…
Reference in New Issue
Block a user