Fixes #4065: Catch the copyright case in the onEnterRules

This commit is contained in:
Alex Dima
2016-05-26 12:43:03 +02:00
parent 9823c9d7df
commit de54cb5a47
6 changed files with 31 additions and 1 deletions

View File

@@ -180,6 +180,11 @@ class LanguageProvider {
// e.g. */|
beforeText: /^(\t|(\ \ ))*\ \*\/\s*$/,
action: { indentAction: IndentAction.None, removeText: 1 }
},
{
// e.g. *-----*/|
beforeText: /^(\t|(\ \ ))*\ \*[^/]*\*\/\s*$/,
action: { indentAction: IndentAction.None, removeText: 1 }
}
],