Adopt latest monaco-editor-core

This commit is contained in:
Alex Dima 2017-01-18 15:09:23 +01:00
parent bd9f4dccb4
commit b3ab0a8d58
2 changed files with 3 additions and 6 deletions

View file

@ -24,7 +24,7 @@
"gulp-uglify": "^1.5.3",
"merge-stream": "^1.0.0",
"mocha": "^2.5.3",
"monaco-editor-core": "^0.7.0",
"monaco-editor-core": "^0.8.0",
"object-assign": "^4.1.0",
"rimraf": "^2.5.2",
"typescript": "2.1.5"

View file

@ -118,17 +118,14 @@ const richEditConfiguration:monaco.languages.LanguageConfiguration = {
}
],
__electricCharacterSupport: {
docComment: {scope:'comment.doc', open:'/**', lineStart:' * ', close:' */'}
},
autoClosingPairs: [
{ open: '{', close: '}' },
{ open: '[', close: ']' },
{ open: '(', close: ')' },
{ open: '"', close: '"', notIn: ['string'] },
{ open: '\'', close: '\'', notIn: ['string', 'comment'] },
{ open: '`', close: '`' }
{ open: '`', close: '`', notIn: ['string', 'comment'] },
{ open: "/**", close: " */", notIn: ["string"] }
]
};