File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -220,10 +220,6 @@ export interface EnterAction {
220
220
* Describe what to do with the indentation.
221
221
*/
222
222
indentAction : IndentAction ;
223
- /**
224
- * Describe whether to outdent current line.
225
- */
226
- outdentCurrentLine ?: boolean ;
227
223
/**
228
224
* Describes text to be appended after the new line and after the indentation.
229
225
*/
Original file line number Diff line number Diff line change @@ -1105,14 +1105,13 @@ class SurroundingMode extends MockMode {
1105
1105
class OnEnterMode extends MockMode {
1106
1106
private static readonly _id = new LanguageIdentifier ( 'onEnterMode' , 3 ) ;
1107
1107
1108
- constructor ( indentAction : IndentAction , outdentCurrentLine ?: boolean ) {
1108
+ constructor ( indentAction : IndentAction ) {
1109
1109
super ( OnEnterMode . _id ) ;
1110
1110
this . _register ( LanguageConfigurationRegistry . register ( this . getLanguageIdentifier ( ) , {
1111
1111
onEnterRules : [ {
1112
1112
beforeText : / .* / ,
1113
1113
action : {
1114
- indentAction : indentAction ,
1115
- outdentCurrentLine : outdentCurrentLine
1114
+ indentAction : indentAction
1116
1115
}
1117
1116
} ]
1118
1117
} ) ) ;
Original file line number Diff line number Diff line change @@ -4618,10 +4618,6 @@ declare namespace monaco.languages {
4618
4618
* Describe what to do with the indentation.
4619
4619
*/
4620
4620
indentAction : IndentAction ;
4621
- /**
4622
- * Describe whether to outdent current line.
4623
- */
4624
- outdentCurrentLine ?: boolean ;
4625
4621
/**
4626
4622
* Describes text to be appended after the new line and after the indentation.
4627
4623
*/
You can’t perform that action at this time.
0 commit comments