@ -414,6 +414,7 @@ declare namespace monaco {
readonly value : string ;
readonly value : string ;
readonly isTrusted? : boolean ;
readonly isTrusted? : boolean ;
readonly supportThemeIcons? : boolean ;
readonly supportThemeIcons? : boolean ;
readonly supportHtml? : boolean ;
uris ? : {
uris ? : {
[ href : string ] : UriComponents ;
[ href : string ] : UriComponents ;
} ;
} ;
@ -871,7 +872,7 @@ declare namespace monaco.editor {
* ` domElement ` should be empty ( not contain other dom nodes ) .
* ` domElement ` should be empty ( not contain other dom nodes ) .
* The editor will read the size of ` domElement ` .
* The editor will read the size of ` domElement ` .
* /
* /
export function createDiffEditor ( domElement : HTMLElement , options? : I DiffEditorConstructionOptions, override? : IEditorOverrideServices ) : IStandaloneDiffEditor ;
export function createDiffEditor ( domElement : HTMLElement , options? : I Standalone DiffEditorConstructionOptions, override? : IEditorOverrideServices ) : IStandaloneDiffEditor ;
export interface IDiffNavigatorOptions {
export interface IDiffNavigatorOptions {
readonly followsCaret? : boolean ;
readonly followsCaret? : boolean ;
@ -1184,12 +1185,12 @@ declare namespace monaco.editor {
model? : ITextModel | null ;
model? : ITextModel | null ;
/ * *
/ * *
* The initial value of the auto created model in the editor .
* The initial value of the auto created model in the editor .
* To not create automatically a model , use ` model: null ` .
* To not automatically create a model , use ` model: null ` .
* /
* /
value? : string ;
value? : string ;
/ * *
/ * *
* The initial language of the auto created model in the editor .
* The initial language of the auto created model in the editor .
* To not create automatically a model , use ` model: null ` .
* To not automatically create a model , use ` model: null ` .
* /
* /
language? : string ;
language? : string ;
/ * *
/ * *
@ -1212,12 +1213,17 @@ declare namespace monaco.editor {
* Defaults to "https://go.microsoft.com/fwlink/?linkid=852450"
* Defaults to "https://go.microsoft.com/fwlink/?linkid=852450"
* /
* /
accessibilityHelpUrl? : string ;
accessibilityHelpUrl? : string ;
/ * *
* Container element to use for ARIA messages .
* Defaults to document . body .
* /
ariaContainerElement? : HTMLElement ;
}
}
/ * *
/ * *
* The options to create a diff editor .
* The options to create a diff editor .
* /
* /
export interface I DiffEditorConstructionOptions extends IDiffEditor Options {
export interface I Standalone DiffEditorConstructionOptions extends IDiffEditor Construction Options {
/ * *
/ * *
* Initial theme to be used for rendering .
* Initial theme to be used for rendering .
* The current out - of - the - box available themes are : 'vs' ( default ) , 'vs-dark' , 'hc-black' .
* The current out - of - the - box available themes are : 'vs' ( default ) , 'vs-dark' , 'hc-black' .
@ -3216,16 +3222,6 @@ declare namespace monaco.editor {
* Defaults to false .
* Defaults to false .
* /
* /
renderControlCharacters? : boolean ;
renderControlCharacters? : boolean ;
/ * *
* Enable rendering of indent guides .
* Defaults to true .
* /
renderIndentGuides? : boolean ;
/ * *
* Enable highlighting of the active indent guide .
* Defaults to true .
* /
highlightActiveIndentGuide? : boolean ;
/ * *
/ * *
* Enable rendering of current line highlight .
* Enable rendering of current line highlight .
* Defaults to all .
* Defaults to all .
@ -3286,12 +3282,13 @@ declare namespace monaco.editor {
* Control if the editor should use shadow DOM .
* Control if the editor should use shadow DOM .
* /
* /
useShadowDOM? : boolean ;
useShadowDOM? : boolean ;
/ * *
* Controls the behavior of editor guides .
* /
guides? : IGuidesOptions ;
}
}
/ * *
export interface IDiffEditorBaseOptions {
* Configuration options for the diff editor .
* /
export interface IDiffEditorOptions extends IEditorOptions {
/ * *
/ * *
* Allow the user to resize the diff editor split view .
* Allow the user to resize the diff editor split view .
* Defaults to true .
* Defaults to true .
@ -3307,6 +3304,11 @@ declare namespace monaco.editor {
* Defaults to 5000 .
* Defaults to 5000 .
* /
* /
maxComputationTime? : number ;
maxComputationTime? : number ;
/ * *
* Maximum supported file size in MB .
* Defaults to 50 .
* /
maxFileSize? : number ;
/ * *
/ * *
* Compute the diff by ignoring leading / trailing whitespace
* Compute the diff by ignoring leading / trailing whitespace
* Defaults to true .
* Defaults to true .
@ -3327,11 +3329,6 @@ declare namespace monaco.editor {
* Defaults to false .
* Defaults to false .
* /
* /
diffCodeLens? : boolean ;
diffCodeLens? : boolean ;
/ * *
* Is the diff editor inside another editor
* Defaults to false
* /
isInEmbeddedEditor? : boolean ;
/ * *
/ * *
* Is the diff editor should render overview ruler
* Is the diff editor should render overview ruler
* Defaults to true
* Defaults to true
@ -3341,14 +3338,12 @@ declare namespace monaco.editor {
* Control the wrapping of the diff editor .
* Control the wrapping of the diff editor .
* /
* /
diffWordWrap ? : 'off' | 'on' | 'inherit' ;
diffWordWrap ? : 'off' | 'on' | 'inherit' ;
/ * *
}
* Aria label for original editor .
* /
/ * *
originalAriaLabel? : string ;
* Configuration options for the diff editor .
/ * *
* /
* Aria label for modified editor .
export interface IDiffEditorOptions extends IEditorOptions , IDiffEditorBaseOptions {
* /
modifiedAriaLabel? : string ;
}
}
/ * *
/ * *
@ -3898,6 +3893,25 @@ declare namespace monaco.editor {
export type InternalBracketPairColorizationOptions = Readonly < Required < IBracketPairColorizationOptions > > ;
export type InternalBracketPairColorizationOptions = Readonly < Required < IBracketPairColorizationOptions > > ;
export interface IGuidesOptions {
/ * *
* Enable rendering of bracket pair guides .
* /
bracketPairs? : boolean ;
/ * *
* Enable rendering of indent guides .
* Defaults to true .
* /
indentation? : boolean ;
/ * *
* Enable highlighting of the active indent guide .
* Defaults to true .
* /
highlightActiveIndentation? : boolean ;
}
export type InternalGuidesOptions = Readonly < Required < IGuidesOptions > > ;
/ * *
/ * *
* Configuration options for editor suggest widget
* Configuration options for editor suggest widget
* /
* /
@ -4107,45 +4121,45 @@ declare namespace monaco.editor {
automaticLayout = 10 ,
automaticLayout = 10 ,
autoSurround = 11 ,
autoSurround = 11 ,
bracketPairColorization = 12 ,
bracketPairColorization = 12 ,
codeLen s = 13 ,
guide s = 13 ,
codeLens FontFamily = 14 ,
codeLens = 14 ,
codeLensFont Size = 15 ,
codeLensFont Family = 15 ,
co lorDecorators = 16 ,
co deLensFontSize = 16 ,
col umnSelection = 17 ,
col orDecorators = 17 ,
co mments = 18 ,
co lumnSelection = 18 ,
co ntextmenu = 19 ,
co mments = 19 ,
co pyWithSyntaxHighlighting = 20 ,
co ntextmenu = 20 ,
c ursorBlink ing = 21 ,
c opyWithSyntaxHighlight ing = 21 ,
cursor SmoothCaretAnimation = 22 ,
cursor Blinking = 22 ,
cursorS tyle = 23 ,
cursorS moothCaretAnimation = 23 ,
cursorS urroundingLines = 24 ,
cursorS tyle = 24 ,
cursorSurroundingLines Style = 25 ,
cursorSurroundingLines = 25 ,
cursor Width = 26 ,
cursor SurroundingLinesStyle = 26 ,
disableLayerHinting = 27 ,
cursorWidth = 27 ,
disable MonospaceOptimizations = 28 ,
disable LayerHinting = 28 ,
d omReadOnly = 29 ,
d isableMonospaceOptimizations = 29 ,
d ragAndDrop = 30 ,
d omReadOnly = 30 ,
emptySelectionClipboard = 31 ,
dragAndDrop = 31 ,
e xtraEditorClassName = 32 ,
e mptySelectionClipboard = 32 ,
fastScrollSensitivity = 33 ,
extraEditorClassName = 33 ,
f ind = 34 ,
f astScrollSensitivity = 34 ,
fi xedOverflowWidgets = 35 ,
fi nd = 35 ,
f olding = 36 ,
f ixedOverflowWidgets = 36 ,
folding Strategy = 37 ,
folding = 37 ,
folding Highlight = 38 ,
folding Strategy = 38 ,
folding ImportsByDefaul t = 39 ,
folding Highligh t = 39 ,
unfoldOnClickAfterEndOfLine = 40 ,
foldingImportsByDefault = 40 ,
fontFamily = 41 ,
unfoldOnClickAfterEndOfLine = 41 ,
font Info = 42 ,
font Family = 42 ,
font Ligatures = 43 ,
font Info = 43 ,
font Size = 44 ,
font Ligatures = 44 ,
font Weight = 45 ,
font Size = 45 ,
fo rmatO nPas te = 46 ,
fo ntW eight = 46 ,
formatOn Typ e = 47 ,
formatOn Past e = 47 ,
glyphMargin = 48 ,
formatOnType = 48 ,
g otoLocatio n = 49 ,
g lyphMargi n = 49 ,
hideCursorInOverviewRuler = 50 ,
gotoLocation = 50 ,
hi ghlightActiveIndentGuide = 51 ,
hi deCursorInOverviewRuler = 51 ,
hover = 52 ,
hover = 52 ,
inDiffEditor = 53 ,
inDiffEditor = 53 ,
inlineSuggest = 54 ,
inlineSuggest = 54 ,
@ -4177,55 +4191,54 @@ declare namespace monaco.editor {
readOnly = 80 ,
readOnly = 80 ,
renameOnType = 81 ,
renameOnType = 81 ,
renderControlCharacters = 82 ,
renderControlCharacters = 82 ,
renderIndentGuides = 83 ,
renderFinalNewline = 83 ,
renderFinalNewline = 84 ,
renderLineHighlight = 84 ,
renderLineHighlight = 85 ,
renderLineHighlightOnlyWhenFocus = 85 ,
renderLineHighlightOnlyWhenFocus = 86 ,
renderValidationDecorations = 86 ,
renderValidationDecorations = 87 ,
renderWhitespace = 87 ,
renderWhitespace = 88 ,
revealHorizontalRightPadding = 88 ,
revealHorizontalRightPadding = 89 ,
roundedSelection = 89 ,
roundedSelection = 90 ,
rulers = 90 ,
rulers = 91 ,
scrollbar = 91 ,
scrollbar = 92 ,
scrollBeyondLastColumn = 92 ,
scrollBeyondLastColumn = 93 ,
scrollBeyondLastLine = 93 ,
scrollBeyondLastLine = 94 ,
scrollPredominantAxis = 94 ,
scrollPredominantAxis = 95 ,
selectionClipboard = 95 ,
selectionClipboard = 96 ,
selectionHighlight = 96 ,
selectionHighlight = 97 ,
selectOnLineNumbers = 97 ,
selectOnLineNumbers = 98 ,
showFoldingControls = 98 ,
showFoldingControls = 99 ,
showUnused = 99 ,
showUnused = 100 ,
snippetSuggestions = 100 ,
snippetSuggestions = 101 ,
smartSelect = 101 ,
smartSelect = 102 ,
smoothScrolling = 102 ,
smoothScrolling = 103 ,
stickyTabStops = 103 ,
stickyTabStops = 104 ,
stopRenderingLineAfter = 104 ,
stopRenderingLineAfter = 105 ,
suggest = 105 ,
suggest = 106 ,
suggestFontSize = 106 ,
suggestFontSize = 107 ,
suggestLineHeight = 107 ,
suggestLineHeight = 108 ,
suggestOnTriggerCharacters = 108 ,
suggestOnTriggerCharacters = 109 ,
suggestSelection = 109 ,
suggestSelection = 110 ,
tabCompletion = 110 ,
tabCompletion = 111 ,
tabIndex = 111 ,
tabIndex = 112 ,
unusualLineTerminators = 112 ,
unusualLineTerminators = 113 ,
useShadowDOM = 113 ,
useShadowDOM = 114 ,
useTabStops = 114 ,
useTabStops = 115 ,
wordSeparators = 115 ,
wordSeparators = 116 ,
wordWrap = 116 ,
wordWrap = 117 ,
wordWrapBreakAfterCharacters = 117 ,
wordWrapBreakAfterCharacters = 118 ,
wordWrapBreakBeforeCharacters = 118 ,
wordWrapBreakBeforeCharacters = 119 ,
wordWrapColumn = 119 ,
wordWrapColumn = 120 ,
wordWrapOverride1 = 120 ,
wordWrapOverride1 = 121 ,
wordWrapOverride2 = 121 ,
wordWrapOverride2 = 122 ,
wrappingIndent = 122 ,
wrappingIndent = 123 ,
wrappingStrategy = 123 ,
wrappingStrategy = 124 ,
showDeprecated = 124 ,
showDeprecated = 125 ,
inlayHints = 125 ,
inlayHints = 126 ,
editorClassName = 126 ,
editorClassName = 127 ,
pixelRatio = 127 ,
pixelRatio = 128 ,
tabFocusMode = 128 ,
tabFocusMode = 129 ,
layoutInfo = 129 ,
layoutInfo = 130 ,
wrappingInfo = 130
wrappingInfo = 131
}
}
export const EditorOptions : {
export const EditorOptions : {
acceptSuggestionOnCommitCharacter : IEditorOption < EditorOption.acceptSuggestionOnCommitCharacter , boolean > ;
acceptSuggestionOnCommitCharacter : IEditorOption < EditorOption.acceptSuggestionOnCommitCharacter , boolean > ;
@ -4240,14 +4253,15 @@ declare namespace monaco.editor {
autoIndent : IEditorOption < EditorOption.autoIndent , EditorAutoIndentStrategy > ;
autoIndent : IEditorOption < EditorOption.autoIndent , EditorAutoIndentStrategy > ;
automaticLayout : IEditorOption < EditorOption.automaticLayout , boolean > ;
automaticLayout : IEditorOption < EditorOption.automaticLayout , boolean > ;
autoSurround : IEditorOption < EditorOption.autoSurround , ' languageDefined ' | ' never ' | ' quotes ' | ' brackets ' > ;
autoSurround : IEditorOption < EditorOption.autoSurround , ' languageDefined ' | ' never ' | ' quotes ' | ' brackets ' > ;
bracketPairColorization : IEditorOption < EditorOption.bracketPairColorization , any > ;
bracketPairColorization : IEditorOption < EditorOption.bracketPairColorization , Readonly < Required < IBracketPairColorizationOptions > >> ;
bracketPairGuides : IEditorOption < EditorOption.guides , Readonly < Required < IGuidesOptions > >> ;
stickyTabStops : IEditorOption < EditorOption.stickyTabStops , boolean > ;
stickyTabStops : IEditorOption < EditorOption.stickyTabStops , boolean > ;
codeLens : IEditorOption < EditorOption.codeLens , boolean > ;
codeLens : IEditorOption < EditorOption.codeLens , boolean > ;
codeLensFontFamily : IEditorOption < EditorOption.codeLensFontFamily , string > ;
codeLensFontFamily : IEditorOption < EditorOption.codeLensFontFamily , string > ;
codeLensFontSize : IEditorOption < EditorOption.codeLensFontSize , number > ;
codeLensFontSize : IEditorOption < EditorOption.codeLensFontSize , number > ;
colorDecorators : IEditorOption < EditorOption.colorDecorators , boolean > ;
colorDecorators : IEditorOption < EditorOption.colorDecorators , boolean > ;
columnSelection : IEditorOption < EditorOption.columnSelection , boolean > ;
columnSelection : IEditorOption < EditorOption.columnSelection , boolean > ;
comments : IEditorOption < EditorOption.comments , EditorCommentsOptions >;
comments : IEditorOption < EditorOption.comments , Readonly< Required < I EditorCommentsOptions>> >;
contextmenu : IEditorOption < EditorOption.contextmenu , boolean > ;
contextmenu : IEditorOption < EditorOption.contextmenu , boolean > ;
copyWithSyntaxHighlighting : IEditorOption < EditorOption.copyWithSyntaxHighlighting , boolean > ;
copyWithSyntaxHighlighting : IEditorOption < EditorOption.copyWithSyntaxHighlighting , boolean > ;
cursorBlinking : IEditorOption < EditorOption.cursorBlinking , TextEditorCursorBlinkingStyle > ;
cursorBlinking : IEditorOption < EditorOption.cursorBlinking , TextEditorCursorBlinkingStyle > ;
@ -4263,7 +4277,7 @@ declare namespace monaco.editor {
emptySelectionClipboard : IEditorOption < EditorOption.emptySelectionClipboard , boolean > ;
emptySelectionClipboard : IEditorOption < EditorOption.emptySelectionClipboard , boolean > ;
extraEditorClassName : IEditorOption < EditorOption.extraEditorClassName , string > ;
extraEditorClassName : IEditorOption < EditorOption.extraEditorClassName , string > ;
fastScrollSensitivity : IEditorOption < EditorOption.fastScrollSensitivity , number > ;
fastScrollSensitivity : IEditorOption < EditorOption.fastScrollSensitivity , number > ;
find : IEditorOption < EditorOption.find , EditorFindOptions >;
find : IEditorOption < EditorOption.find , Readonly< Required < I EditorFindOptions>> >;
fixedOverflowWidgets : IEditorOption < EditorOption.fixedOverflowWidgets , boolean > ;
fixedOverflowWidgets : IEditorOption < EditorOption.fixedOverflowWidgets , boolean > ;
folding : IEditorOption < EditorOption.folding , boolean > ;
folding : IEditorOption < EditorOption.folding , boolean > ;
foldingStrategy : IEditorOption < EditorOption.foldingStrategy , ' auto ' | ' indentation ' > ;
foldingStrategy : IEditorOption < EditorOption.foldingStrategy , ' auto ' | ' indentation ' > ;
@ -4278,13 +4292,12 @@ declare namespace monaco.editor {
formatOnPaste : IEditorOption < EditorOption.formatOnPaste , boolean > ;
formatOnPaste : IEditorOption < EditorOption.formatOnPaste , boolean > ;
formatOnType : IEditorOption < EditorOption.formatOnType , boolean > ;
formatOnType : IEditorOption < EditorOption.formatOnType , boolean > ;
glyphMargin : IEditorOption < EditorOption.glyphMargin , boolean > ;
glyphMargin : IEditorOption < EditorOption.glyphMargin , boolean > ;
gotoLocation : IEditorOption < EditorOption.gotoLocation , GoToLocationOptions >;
gotoLocation : IEditorOption < EditorOption.gotoLocation , Readonly< Required < IGotoLocationOptions > > >;
hideCursorInOverviewRuler : IEditorOption < EditorOption.hideCursorInOverviewRuler , boolean > ;
hideCursorInOverviewRuler : IEditorOption < EditorOption.hideCursorInOverviewRuler , boolean > ;
highlightActiveIndentGuide : IEditorOption < EditorOption.highlightActiveIndentGuide , boolean > ;
hover : IEditorOption < EditorOption.hover , Readonly < Required < IEditorHoverOptions > >> ;
hover : IEditorOption < EditorOption.hover , EditorHoverOptions > ;
inDiffEditor : IEditorOption < EditorOption.inDiffEditor , boolean > ;
inDiffEditor : IEditorOption < EditorOption.inDiffEditor , boolean > ;
letterSpacing : IEditorOption < EditorOption.letterSpacing , number > ;
letterSpacing : IEditorOption < EditorOption.letterSpacing , number > ;
lightbulb : IEditorOption < EditorOption.lightbulb , EditorLightbulbOptions >;
lightbulb : IEditorOption < EditorOption.lightbulb , Readonly< Required < I EditorLightbulbOptions>> >;
lineDecorationsWidth : IEditorOption < EditorOption.lineDecorationsWidth , string | number > ;
lineDecorationsWidth : IEditorOption < EditorOption.lineDecorationsWidth , string | number > ;
lineHeight : IEditorOption < EditorOption.lineHeight , number > ;
lineHeight : IEditorOption < EditorOption.lineHeight , number > ;
lineNumbers : IEditorOption < EditorOption.lineNumbers , InternalEditorRenderLineNumbersOptions > ;
lineNumbers : IEditorOption < EditorOption.lineNumbers , InternalEditorRenderLineNumbersOptions > ;
@ -4292,7 +4305,7 @@ declare namespace monaco.editor {
linkedEditing : IEditorOption < EditorOption.linkedEditing , boolean > ;
linkedEditing : IEditorOption < EditorOption.linkedEditing , boolean > ;
links : IEditorOption < EditorOption.links , boolean > ;
links : IEditorOption < EditorOption.links , boolean > ;
matchBrackets : IEditorOption < EditorOption.matchBrackets , ' always ' | ' never ' | ' near ' > ;
matchBrackets : IEditorOption < EditorOption.matchBrackets , ' always ' | ' never ' | ' near ' > ;
minimap : IEditorOption < EditorOption.minimap , EditorMinimapOptions >;
minimap : IEditorOption < EditorOption.minimap , Readonly< Required < I EditorMinimapOptions>> >;
mouseStyle : IEditorOption < EditorOption.mouseStyle , ' default ' | ' text ' | ' copy ' > ;
mouseStyle : IEditorOption < EditorOption.mouseStyle , ' default ' | ' text ' | ' copy ' > ;
mouseWheelScrollSensitivity : IEditorOption < EditorOption.mouseWheelScrollSensitivity , number > ;
mouseWheelScrollSensitivity : IEditorOption < EditorOption.mouseWheelScrollSensitivity , number > ;
mouseWheelZoom : IEditorOption < EditorOption.mouseWheelZoom , boolean > ;
mouseWheelZoom : IEditorOption < EditorOption.mouseWheelZoom , boolean > ;
@ -4303,7 +4316,7 @@ declare namespace monaco.editor {
overviewRulerBorder : IEditorOption < EditorOption.overviewRulerBorder , boolean > ;
overviewRulerBorder : IEditorOption < EditorOption.overviewRulerBorder , boolean > ;
overviewRulerLanes : IEditorOption < EditorOption.overviewRulerLanes , number > ;
overviewRulerLanes : IEditorOption < EditorOption.overviewRulerLanes , number > ;
padding : IEditorOption < EditorOption.padding , InternalEditorPaddingOptions > ;
padding : IEditorOption < EditorOption.padding , InternalEditorPaddingOptions > ;
parameterHints : IEditorOption < EditorOption.parameterHints , InternalParameterHintOptions >;
parameterHints : IEditorOption < EditorOption.parameterHints , Readonly< Required < IEditorParameterHintOptions > > >;
peekWidgetDefaultFocus : IEditorOption < EditorOption.peekWidgetDefaultFocus , ' tree ' | ' editor ' > ;
peekWidgetDefaultFocus : IEditorOption < EditorOption.peekWidgetDefaultFocus , ' tree ' | ' editor ' > ;
definitionLinkOpensInPeek : IEditorOption < EditorOption.definitionLinkOpensInPeek , boolean > ;
definitionLinkOpensInPeek : IEditorOption < EditorOption.definitionLinkOpensInPeek , boolean > ;
quickSuggestions : IEditorOption < EditorOption.quickSuggestions , ValidQuickSuggestionsOptions > ;
quickSuggestions : IEditorOption < EditorOption.quickSuggestions , ValidQuickSuggestionsOptions > ;
@ -4311,7 +4324,6 @@ declare namespace monaco.editor {
readOnly : IEditorOption < EditorOption.readOnly , boolean > ;
readOnly : IEditorOption < EditorOption.readOnly , boolean > ;
renameOnType : IEditorOption < EditorOption.renameOnType , boolean > ;
renameOnType : IEditorOption < EditorOption.renameOnType , boolean > ;
renderControlCharacters : IEditorOption < EditorOption.renderControlCharacters , boolean > ;
renderControlCharacters : IEditorOption < EditorOption.renderControlCharacters , boolean > ;
renderIndentGuides : IEditorOption < EditorOption.renderIndentGuides , boolean > ;
renderFinalNewline : IEditorOption < EditorOption.renderFinalNewline , boolean > ;
renderFinalNewline : IEditorOption < EditorOption.renderFinalNewline , boolean > ;
renderLineHighlight : IEditorOption < EditorOption.renderLineHighlight , ' all ' | ' line ' | ' none ' | ' gutter ' > ;
renderLineHighlight : IEditorOption < EditorOption.renderLineHighlight , ' all ' | ' line ' | ' none ' | ' gutter ' > ;
renderLineHighlightOnlyWhenFocus : IEditorOption < EditorOption.renderLineHighlightOnlyWhenFocus , boolean > ;
renderLineHighlightOnlyWhenFocus : IEditorOption < EditorOption.renderLineHighlightOnlyWhenFocus , boolean > ;
@ -4330,13 +4342,13 @@ declare namespace monaco.editor {
showFoldingControls : IEditorOption < EditorOption.showFoldingControls , ' always ' | ' mouseover ' > ;
showFoldingControls : IEditorOption < EditorOption.showFoldingControls , ' always ' | ' mouseover ' > ;
showUnused : IEditorOption < EditorOption.showUnused , boolean > ;
showUnused : IEditorOption < EditorOption.showUnused , boolean > ;
showDeprecated : IEditorOption < EditorOption.showDeprecated , boolean > ;
showDeprecated : IEditorOption < EditorOption.showDeprecated , boolean > ;
inlayHints : IEditorOption < EditorOption.inlayHints , any >;
inlayHints : IEditorOption < EditorOption.inlayHints , Re ado nl y< Required < IEditorInlayHintsOptions >> >;
snippetSuggestions : IEditorOption < EditorOption.snippetSuggestions , ' none ' | ' top ' | ' bottom ' | ' inline ' > ;
snippetSuggestions : IEditorOption < EditorOption.snippetSuggestions , ' none ' | ' top ' | ' bottom ' | ' inline ' > ;
smartSelect : IEditorOption < EditorOption.smartSelect , any >;
smartSelect : IEditorOption < EditorOption.smartSelect , Re ado nl y< Required < ISmartSelectOptions >> >;
smoothScrolling : IEditorOption < EditorOption.smoothScrolling , boolean > ;
smoothScrolling : IEditorOption < EditorOption.smoothScrolling , boolean > ;
stopRenderingLineAfter : IEditorOption < EditorOption.stopRenderingLineAfter , number > ;
stopRenderingLineAfter : IEditorOption < EditorOption.stopRenderingLineAfter , number > ;
suggest : IEditorOption < EditorOption.suggest , InternalSuggestOptions >;
suggest : IEditorOption < EditorOption.suggest , Readonly< Required < ISuggestOptions > > >;
inlineSuggest : IEditorOption < EditorOption.inlineSuggest , any >;
inlineSuggest : IEditorOption < EditorOption.inlineSuggest , Re ado nl y< Required < IInlineSuggestOptions >> >;
suggestFontSize : IEditorOption < EditorOption.suggestFontSize , number > ;
suggestFontSize : IEditorOption < EditorOption.suggestFontSize , number > ;
suggestLineHeight : IEditorOption < EditorOption.suggestLineHeight , number > ;
suggestLineHeight : IEditorOption < EditorOption.suggestLineHeight , number > ;
suggestOnTriggerCharacters : IEditorOption < EditorOption.suggestOnTriggerCharacters , boolean > ;
suggestOnTriggerCharacters : IEditorOption < EditorOption.suggestOnTriggerCharacters , boolean > ;
@ -4706,6 +4718,19 @@ declare namespace monaco.editor {
* Defaults to an internal DOM node .
* Defaults to an internal DOM node .
* /
* /
overflowWidgetsDomNode? : HTMLElement ;
overflowWidgetsDomNode? : HTMLElement ;
/ * *
* Aria label for original editor .
* /
originalAriaLabel? : string ;
/ * *
* Aria label for modified editor .
* /
modifiedAriaLabel? : string ;
/ * *
* Is the diff editor inside another editor
* Defaults to false
* /
isInEmbeddedEditor? : boolean ;
}
}
/ * *
/ * *
@ -5451,6 +5476,10 @@ declare namespace monaco.languages {
* Provide commands for the given document and range .
* Provide commands for the given document and range .
* /
* /
provideCodeActions ( model : editor.ITextModel , range : Range , context : CodeActionContext , token : CancellationToken ) : ProviderResult < CodeActionList > ;
provideCodeActions ( model : editor.ITextModel , range : Range , context : CodeActionContext , token : CancellationToken ) : ProviderResult < CodeActionList > ;
/ * *
* Given a code action fill in the edit . Will only invoked when missing .
* /
resolveCodeAction ? ( codeAction : CodeAction , token : CancellationToken ) : ProviderResult < CodeAction > ;
}
}
/ * *
/ * *