1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-06-29 03:02:36 +02:00

CodeEditor: add cleargutter code

This commit is contained in:
Kushagra Gour
2018-12-10 19:13:37 +05:30
parent 098c47902c
commit eb139c8b40

View File

@ -153,7 +153,11 @@ export default class CodeEditor extends Component {
}
}
clearGutter(gutterName) {}
clearGutter(gutterName) {
if (this.instance.clearGutter) {
this.instance.clearGutter(gutterName);
}
}
refresh() {
this.instance.refresh ? this.instance.refresh() : this.instance.layout();