Skip to content

Commit 0183d84

Browse files
committed
1 parent 6cce81c commit 0183d84

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

src/vs/editor/common/modes/languageConfiguration.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,6 @@ export interface EnterAction {
220220
* Describe what to do with the indentation.
221221
*/
222222
indentAction: IndentAction;
223-
/**
224-
* Describe whether to outdent current line.
225-
*/
226-
outdentCurrentLine?: boolean;
227223
/**
228224
* Describes text to be appended after the new line and after the indentation.
229225
*/

src/vs/editor/test/browser/controller/cursor.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,14 +1105,13 @@ class SurroundingMode extends MockMode {
11051105
class OnEnterMode extends MockMode {
11061106
private static readonly _id = new LanguageIdentifier('onEnterMode', 3);
11071107

1108-
constructor(indentAction: IndentAction, outdentCurrentLine?: boolean) {
1108+
constructor(indentAction: IndentAction) {
11091109
super(OnEnterMode._id);
11101110
this._register(LanguageConfigurationRegistry.register(this.getLanguageIdentifier(), {
11111111
onEnterRules: [{
11121112
beforeText: /.*/,
11131113
action: {
1114-
indentAction: indentAction,
1115-
outdentCurrentLine: outdentCurrentLine
1114+
indentAction: indentAction
11161115
}
11171116
}]
11181117
}));

src/vs/monaco.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4618,10 +4618,6 @@ declare namespace monaco.languages {
46184618
* Describe what to do with the indentation.
46194619
*/
46204620
indentAction: IndentAction;
4621-
/**
4622-
* Describe whether to outdent current line.
4623-
*/
4624-
outdentCurrentLine?: boolean;
46254621
/**
46264622
* Describes text to be appended after the new line and after the indentation.
46274623
*/

0 commit comments

Comments
 (0)