centralize part visibility eventing

add context key for editor area visible
fixes #67707
This commit is contained in:
SteVen Batten
2019-10-18 15:21:30 -07:00
parent b3eb413eaf
commit c805ab792e
11 changed files with 48 additions and 41 deletions

View File

@@ -38,6 +38,7 @@ export const SingleEditorGroupsContext = MultipleEditorGroupsContext.toNegated()
export const InEditorZenModeContext = new RawContextKey<boolean>('inZenMode', false);
export const IsCenteredLayoutContext = new RawContextKey<boolean>('isCenteredLayout', false);
export const SplitEditorsVertically = new RawContextKey<boolean>('splitEditorsVertically', false);
export const EditorAreaVisibleContext = new RawContextKey<boolean>('editorAreaVisible', true);
/**
* Text diff editor id.