@@ -33,7 +33,7 @@ import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
33
33
import { registerIcon } from 'vs/platform/theme/common/iconRegistry' ;
34
34
35
35
export class InlineSuggestionHintsWidget extends Disposable {
36
- private readonly widget = this . _register ( this . instantiationService . createInstance ( InlineSuggestionHintsContentWidget , this . editor ) ) ;
36
+ private readonly widget = this . _register ( this . instantiationService . createInstance ( InlineSuggestionHintsContentWidget , this . editor , true ) ) ;
37
37
38
38
private sessionPosition : Position | undefined = undefined ;
39
39
@@ -96,7 +96,7 @@ export class InlineSuggestionHintsContentWidget extends Disposable implements IC
96
96
public readonly allowEditorOverflow = true ;
97
97
public readonly suppressMouseDown = false ;
98
98
99
- private readonly nodes = h ( 'div.inlineSuggestionsHints' , [
99
+ private readonly nodes = h ( 'div.inlineSuggestionsHints' , { className : this . withBorder ? '.withBorder' : '' } , [
100
100
h ( 'div' , { style : { display : 'flex' } } , [
101
101
h ( 'div@actionBar' , { className : 'custom-actions' } ) ,
102
102
h ( 'div@toolBar' ) ,
@@ -143,6 +143,7 @@ export class InlineSuggestionHintsContentWidget extends Disposable implements IC
143
143
144
144
constructor (
145
145
private readonly editor : ICodeEditor ,
146
+ private readonly withBorder : boolean ,
146
147
@ICommandService private readonly _commandService : ICommandService ,
147
148
@IInstantiationService instantiationService : IInstantiationService ,
148
149
@IKeybindingService private readonly keybindingService : IKeybindingService ,
0 commit comments