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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user