mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-13 11:38:36 -05:00
Merge from vscode 61d5f2b82f17bf9f99f56405204caab88a7e8747
This commit is contained in:
106
src/vs/monaco.d.ts
vendored
106
src/vs/monaco.d.ts
vendored
@@ -2673,6 +2673,11 @@ declare namespace monaco.editor {
|
||||
* Defaults to false.
|
||||
*/
|
||||
readOnly?: boolean;
|
||||
/**
|
||||
* Rename matching regions on type.
|
||||
* Defaults to false.
|
||||
*/
|
||||
renameOnType?: boolean;
|
||||
/**
|
||||
* Should the editor render validation decorations.
|
||||
* Defaults to editable.
|
||||
@@ -3886,47 +3891,48 @@ declare namespace monaco.editor {
|
||||
quickSuggestions = 70,
|
||||
quickSuggestionsDelay = 71,
|
||||
readOnly = 72,
|
||||
renderControlCharacters = 73,
|
||||
renderIndentGuides = 74,
|
||||
renderFinalNewline = 75,
|
||||
renderLineHighlight = 76,
|
||||
renderValidationDecorations = 77,
|
||||
renderWhitespace = 78,
|
||||
revealHorizontalRightPadding = 79,
|
||||
roundedSelection = 80,
|
||||
rulers = 81,
|
||||
scrollbar = 82,
|
||||
scrollBeyondLastColumn = 83,
|
||||
scrollBeyondLastLine = 84,
|
||||
scrollPredominantAxis = 85,
|
||||
selectionClipboard = 86,
|
||||
selectionHighlight = 87,
|
||||
selectOnLineNumbers = 88,
|
||||
showFoldingControls = 89,
|
||||
showUnused = 90,
|
||||
snippetSuggestions = 91,
|
||||
smoothScrolling = 92,
|
||||
stopRenderingLineAfter = 93,
|
||||
suggest = 94,
|
||||
suggestFontSize = 95,
|
||||
suggestLineHeight = 96,
|
||||
suggestOnTriggerCharacters = 97,
|
||||
suggestSelection = 98,
|
||||
tabCompletion = 99,
|
||||
useTabStops = 100,
|
||||
wordSeparators = 101,
|
||||
wordWrap = 102,
|
||||
wordWrapBreakAfterCharacters = 103,
|
||||
wordWrapBreakBeforeCharacters = 104,
|
||||
wordWrapColumn = 105,
|
||||
wordWrapMinified = 106,
|
||||
wrappingIndent = 107,
|
||||
wrappingStrategy = 108,
|
||||
editorClassName = 109,
|
||||
pixelRatio = 110,
|
||||
tabFocusMode = 111,
|
||||
layoutInfo = 112,
|
||||
wrappingInfo = 113
|
||||
renameOnType = 73,
|
||||
renderControlCharacters = 74,
|
||||
renderIndentGuides = 75,
|
||||
renderFinalNewline = 76,
|
||||
renderLineHighlight = 77,
|
||||
renderValidationDecorations = 78,
|
||||
renderWhitespace = 79,
|
||||
revealHorizontalRightPadding = 80,
|
||||
roundedSelection = 81,
|
||||
rulers = 82,
|
||||
scrollbar = 83,
|
||||
scrollBeyondLastColumn = 84,
|
||||
scrollBeyondLastLine = 85,
|
||||
scrollPredominantAxis = 86,
|
||||
selectionClipboard = 87,
|
||||
selectionHighlight = 88,
|
||||
selectOnLineNumbers = 89,
|
||||
showFoldingControls = 90,
|
||||
showUnused = 91,
|
||||
snippetSuggestions = 92,
|
||||
smoothScrolling = 93,
|
||||
stopRenderingLineAfter = 94,
|
||||
suggest = 95,
|
||||
suggestFontSize = 96,
|
||||
suggestLineHeight = 97,
|
||||
suggestOnTriggerCharacters = 98,
|
||||
suggestSelection = 99,
|
||||
tabCompletion = 100,
|
||||
useTabStops = 101,
|
||||
wordSeparators = 102,
|
||||
wordWrap = 103,
|
||||
wordWrapBreakAfterCharacters = 104,
|
||||
wordWrapBreakBeforeCharacters = 105,
|
||||
wordWrapColumn = 106,
|
||||
wordWrapMinified = 107,
|
||||
wrappingIndent = 108,
|
||||
wrappingStrategy = 109,
|
||||
editorClassName = 110,
|
||||
pixelRatio = 111,
|
||||
tabFocusMode = 112,
|
||||
layoutInfo = 113,
|
||||
wrappingInfo = 114
|
||||
}
|
||||
export const EditorOptions: {
|
||||
acceptSuggestionOnCommitCharacter: IEditorOption<EditorOption.acceptSuggestionOnCommitCharacter, boolean>;
|
||||
@@ -4002,6 +4008,7 @@ declare namespace monaco.editor {
|
||||
quickSuggestions: IEditorOption<EditorOption.quickSuggestions, ValidQuickSuggestionsOptions>;
|
||||
quickSuggestionsDelay: IEditorOption<EditorOption.quickSuggestionsDelay, number>;
|
||||
readOnly: IEditorOption<EditorOption.readOnly, boolean>;
|
||||
renameOnType: IEditorOption<EditorOption.renameOnType, boolean>;
|
||||
renderControlCharacters: IEditorOption<EditorOption.renderControlCharacters, boolean>;
|
||||
renderIndentGuides: IEditorOption<EditorOption.renderIndentGuides, boolean>;
|
||||
renderFinalNewline: IEditorOption<EditorOption.renderFinalNewline, boolean>;
|
||||
@@ -4958,6 +4965,11 @@ declare namespace monaco.languages {
|
||||
*/
|
||||
export function registerDocumentHighlightProvider(languageId: string, provider: DocumentHighlightProvider): IDisposable;
|
||||
|
||||
/**
|
||||
* Register an on type rename provider.
|
||||
*/
|
||||
export function registerOnTypeRenameProvider(languageId: string, provider: OnTypeRenameProvider): IDisposable;
|
||||
|
||||
/**
|
||||
* Register a definition provider (used by e.g. go to definition).
|
||||
*/
|
||||
@@ -5716,6 +5728,18 @@ declare namespace monaco.languages {
|
||||
provideDocumentHighlights(model: editor.ITextModel, position: Position, token: CancellationToken): ProviderResult<DocumentHighlight[]>;
|
||||
}
|
||||
|
||||
/**
|
||||
* The rename provider interface defines the contract between extensions and
|
||||
* the live-rename feature.
|
||||
*/
|
||||
export interface OnTypeRenameProvider {
|
||||
stopPattern?: RegExp;
|
||||
/**
|
||||
* Provide a list of ranges that can be live-renamed together.
|
||||
*/
|
||||
provideOnTypeRenameRanges(model: editor.ITextModel, position: Position, token: CancellationToken): ProviderResult<IRange[]>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Value-object that contains additional information when
|
||||
* requesting references.
|
||||
|
||||
Reference in New Issue
Block a user