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