1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-31 18:50:14 +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() { refresh() {
this.instance.refresh ? this.instance.refresh() : this.instance.layout(); this.instance.refresh ? this.instance.refresh() : this.instance.layout();