Trigger linting for CodeMirror editor
This commit is contained in:
@@ -86,6 +86,11 @@ export class DslEditorComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
triggerLinting() {
|
||||
this.doc.setOption('lint', {});
|
||||
this.doc.setOption('lint', this._lint);
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
let options: CodeMirror.EditorConfiguration = {
|
||||
|
||||
Reference in New Issue
Block a user