@@ -37,7 +37,7 @@ export interface IVirtualModel {
3737 getLineContent ( lineNumber : number ) : string ;
3838}
3939
40- export interface IndentConverter {
40+ export interface IIndentConverter {
4141 shiftIndent ?( indentation : string ) : string ;
4242 unshiftIndent ?( indentation : string ) : string ;
4343 normalizeIndentation ?( indentation : string ) : string ;
@@ -429,7 +429,7 @@ export class LanguageConfigurationRegistryImpl {
429429 }
430430 }
431431
432- public getGoodIndentForLine ( virtualModel : IVirtualModel , languageId : LanguageId , lineNumber : number , indentConverter : IndentConverter ) : string {
432+ public getGoodIndentForLine ( virtualModel : IVirtualModel , languageId : LanguageId , lineNumber : number , indentConverter : IIndentConverter ) : string {
433433 let indentRulesSupport = this . _getIndentRulesSupport ( languageId ) ;
434434 if ( ! indentRulesSupport ) {
435435 return null ;
@@ -456,7 +456,7 @@ export class LanguageConfigurationRegistryImpl {
456456 return null ;
457457 }
458458
459- public getIndentForEnter ( model : ITokenizedModel , range : Range , indentConverter : IndentConverter ) : { beforeEnter : string , afterEnter : string } {
459+ public getIndentForEnter ( model : ITokenizedModel , range : Range , indentConverter : IIndentConverter ) : { beforeEnter : string , afterEnter : string } {
460460 model . forceTokenization ( range . startLineNumber ) ;
461461 let lineTokens = model . getLineTokens ( range . startLineNumber ) ;
462462
@@ -548,7 +548,7 @@ export class LanguageConfigurationRegistryImpl {
548548 * We should always allow intentional indentation. It means, if users change the indentation of `lineNumber` and the content of
549549 * this line doesn't match decreaseIndentPattern, we should not adjust the indentation.
550550 */
551- public getIndentActionForType ( model : ITokenizedModel , range : Range , ch : string , indentConverter : IndentConverter ) : string {
551+ public getIndentActionForType ( model : ITokenizedModel , range : Range , ch : string , indentConverter : IIndentConverter ) : string {
552552 let scopedLineTokens = this . getScopedLineTokens ( model , range . startLineNumber , range . startColumn ) ;
553553 let indentRulesSupport = this . _getIndentRulesSupport ( scopedLineTokens . languageId ) ;
554554 if ( ! indentRulesSupport ) {
0 commit comments