@@ -729,9 +729,8 @@ export class RepositoryPane extends ViewPane {
729729 fontFamily : ' -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif' ,
730730 wrappingStrategy : 'advanced' ,
731731 wrappingIndent : 'none' ,
732- suggest : {
733- showWords : false
734- }
732+ padding : { top : 3 , bottom : 3 } ,
733+ suggest : { showWords : false }
735734 } ;
736735
737736 const codeEditorWidgetOptions : ICodeEditorWidgetOptions = {
@@ -769,10 +768,6 @@ export class RepositoryPane extends ViewPane {
769768 this . inputModel = this . modelService . getModel ( uri ) || this . modelService . createModel ( '' , null , uri ) ;
770769 this . inputEditor . setModel ( this . inputModel ) ;
771770
772- this . inputEditor . changeViewZones ( accessor => {
773- accessor . addZone ( { afterLineNumber : 0 , domNode : $ ( 'div' ) , heightInPx : 3 } ) ;
774- } ) ;
775-
776771 this . _register ( this . inputEditor . onDidChangeCursorPosition ( triggerValidation ) ) ;
777772
778773 // Keep model in sync with API
@@ -924,7 +919,7 @@ export class RepositoryPane extends ViewPane {
924919 removeClass ( this . inputContainer , 'hidden' ) ;
925920
926921 const editorContentHeight = this . inputEditor . getContentHeight ( ) ;
927- const editorHeight = Math . min ( editorContentHeight + 3 , 134 ) ;
922+ const editorHeight = Math . min ( editorContentHeight , 134 ) ;
928923 this . inputEditor . layout ( { height : editorHeight , width : width ! - 12 - 16 - 2 } ) ;
929924
930925 this . validationContainer . style . top = `${ editorHeight + 1 } px` ;
0 commit comments