This commit is contained in:
rebornix 2020-01-31 15:55:09 -08:00
parent f4786e227c
commit da4aafa73f
2 changed files with 5 additions and 5 deletions

View file

@ -74,7 +74,7 @@ export interface IEditorOptions {
* If it is a function, it will be invoked when rendering a line number and the return value will be rendered.
* Otherwise, if it is a truey, line numbers will be rendered normally (equivalent of using an identity function).
* Otherwise, line numbers will not be rendered.
* Defaults to true.
* Defaults to `on`.
*/
lineNumbers?: LineNumbersType;
/**
@ -385,8 +385,8 @@ export interface IEditorOptions {
*/
autoSurround?: EditorAutoSurroundStrategy;
/**
* Enable auto indentation adjustment.
* Defaults to false.
* Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.
* Defaults to advanced.
*/
autoIndent?: 'none' | 'keep' | 'brackets' | 'advanced' | 'full';
/**

4
src/vs/monaco.d.ts vendored
View file

@ -2865,8 +2865,8 @@ declare namespace monaco.editor {
*/
autoSurround?: EditorAutoSurroundStrategy;
/**
* Enable auto indentation adjustment.
* Defaults to false.
* Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.
* Defaults to advanced.
*/
autoIndent?: 'none' | 'keep' | 'brackets' | 'advanced' | 'full';
/**