@@ -12,7 +12,7 @@ import { Position } from 'vs/editor/common/core/position';
1212import { Range } from 'vs/editor/common/core/range' ;
1313import { Selection } from 'vs/editor/common/core/selection' ;
1414import { TokenizationResult2 } from 'vs/editor/common/core/token' ;
15- import { Handler , ICommand , ICursorStateComputerData , IEditOperationBuilder } from 'vs/editor/common/editorCommon' ;
15+ import { Handler as H , ICommand , ICursorStateComputerData , IEditOperationBuilder } from 'vs/editor/common/editorCommon' ;
1616import { EndOfLinePreference , EndOfLineSequence , ITextModel } from 'vs/editor/common/model' ;
1717import { TextModel } from 'vs/editor/common/model/textModel' ;
1818import { IState , ITokenizationSupport , LanguageIdentifier , TokenizationRegistry } from 'vs/editor/common/modes' ;
@@ -24,8 +24,6 @@ import { IRelaxedTextModelCreationOptions, createTextModel } from 'vs/editor/tes
2424import { MockMode } from 'vs/editor/test/common/mocks/mockMode' ;
2525import { javascriptOnEnterRules } from 'vs/editor/test/common/modes/supports/javascriptOnEnterRules' ;
2626
27- const H = Handler ;
28-
2927// --------- utils
3028
3129function cursorCommand ( cursor : Cursor , command : string , extraData ?: any , overwriteSource ?: string ) {
@@ -2686,7 +2684,7 @@ suite('Editor Controller - Cursor Configuration', () => {
26862684
26872685 }
26882686
2689- cursor . trigger ( 'autoFormat' , Handler . ExecuteCommand , new TestCommand ( ) ) ;
2687+ cursor . trigger ( 'autoFormat' , H . ExecuteCommand , new TestCommand ( ) ) ;
26902688 assert . equal ( model . getLineContent ( 1 ) , 'function foo(params: string) {' ) ;
26912689 assert . equal ( model . getLineContent ( 2 ) , ' ' ) ;
26922690 assert . equal ( model . getLineContent ( 3 ) , '}' ) ;
0 commit comments