mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 17:22:20 -05:00
Allow for auto-resizable editor component (#2818)
This commit is contained in:
@@ -905,6 +905,14 @@ class EditorWrapper extends ComponentWrapper implements sqlops.EditorComponent {
|
||||
return this.properties['editorUri'];
|
||||
}
|
||||
|
||||
public get isAutoResizable(): boolean {
|
||||
return this.properties['isAutoResizable'];
|
||||
}
|
||||
|
||||
public set isAutoResizable(v: boolean) {
|
||||
this.setProperty('isAutoResizable', v);
|
||||
}
|
||||
|
||||
public get onContentChanged(): vscode.Event<any> {
|
||||
let emitter = this._emitterMap.get(ComponentEventType.onDidChange);
|
||||
return emitter && emitter.event;
|
||||
|
||||
Reference in New Issue
Block a user