mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Merge from vscode 313ede61cbad8f9dc748907b3384e059ddddb79a (#7436)
* Merge from vscode 313ede61cbad8f9dc748907b3384e059ddddb79a * fix strict null checks
This commit is contained in:
@@ -12,6 +12,7 @@ import { USUAL_WORD_SEPARATORS } from 'vs/editor/common/model/wordHelper';
|
||||
import { AccessibilitySupport } from 'vs/platform/accessibility/common/accessibility';
|
||||
import { isObject } from 'vs/base/common/types';
|
||||
import { IConfigurationPropertySchema } from 'vs/platform/configuration/common/configurationRegistry';
|
||||
import { IDimension } from 'vs/editor/common/editorCommon';
|
||||
|
||||
//#region typed options
|
||||
|
||||
@@ -516,6 +517,13 @@ export interface IEditorOptions {
|
||||
showUnused?: boolean;
|
||||
}
|
||||
|
||||
export interface IEditorConstructionOptions extends IEditorOptions {
|
||||
/**
|
||||
* The initial editor dimension (to avoid measuring the container).
|
||||
*/
|
||||
dimension?: IDimension;
|
||||
}
|
||||
|
||||
/**
|
||||
* Configuration options for the diff editor.
|
||||
*/
|
||||
|
||||
@@ -280,6 +280,8 @@ export interface IEditor {
|
||||
/**
|
||||
* Instructs the editor to remeasure its container. This method should
|
||||
* be called when the container of the editor gets resized.
|
||||
*
|
||||
* If a dimension is passed in, the passed in value will be used.
|
||||
*/
|
||||
layout(dimension?: IDimension): void;
|
||||
|
||||
|
||||
@@ -922,7 +922,7 @@ export interface DocumentSymbol {
|
||||
|
||||
/**
|
||||
* The document symbol provider interface defines the contract between extensions and
|
||||
* the [go to symbol](https://code.visualstudio.com/docs/editor/editingevolved#_goto-symbol)-feature.
|
||||
* the [go to symbol](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol)-feature.
|
||||
*/
|
||||
export interface DocumentSymbolProvider {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user