File tree Expand file tree Collapse file tree
src/vs/editor/browser/viewParts/rulers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88import 'vs/css!./rulers' ;
99import { StyleMutator } from 'vs/base/browser/styleMutator' ;
10- import { IConfigurationChangedEvent } from 'vs/editor/common/editorCommon' ;
10+ import * as editorCommon from 'vs/editor/common/editorCommon' ;
1111import { ILayoutProvider , IRenderingContext , IViewContext } from 'vs/editor/browser/editorBrowser' ;
1212import { ViewPart } from 'vs/editor/browser/view/viewPart' ;
1313
@@ -35,7 +35,7 @@ export class Rulers extends ViewPart {
3535
3636 // --- begin event handlers
3737
38- public onConfigurationChanged ( e : IConfigurationChangedEvent ) : boolean {
38+ public onConfigurationChanged ( e : editorCommon . IConfigurationChangedEvent ) : boolean {
3939 if ( e . rulers || e . layoutInfo || e . typicalHalfwidthCharacterWidth ) {
4040 this . _rulers = this . _context . configuration . editor . rulers ;
4141 this . _height = this . _context . configuration . editor . layoutInfo . contentHeight ;
@@ -44,6 +44,9 @@ export class Rulers extends ViewPart {
4444 }
4545 return false ;
4646 }
47+ public onScrollHeightChanged ( scrollHeight :number ) : boolean {
48+ return true ;
49+ }
4750
4851 // --- end event handlers
4952
You can’t perform that action at this time.
0 commit comments