Commit 9f7010a5 authored by LianaHus's avatar LianaHus Committed by ioedeveloper

remove only highlight

parent 4b3d06b0
......@@ -71,7 +71,7 @@ class DebuggerTab extends ViewPlugin {
}
deactivate () {
this.debuggerUI.unLoad()
this.debuggerUI.deletHighlights()
super.deactivate()
}
......
......@@ -207,7 +207,6 @@ class DebuggerUI {
}
async unLoad () {
await this.debuggerModule.call('editor', 'discardHighlight')
yo.update(this.debuggerHeadPanelsView, yo`<div></div>`)
yo.update(this.debuggerPanelsView, yo`<div></div>`)
yo.update(this.stepManagerView, yo`<div></div>`)
......@@ -220,6 +219,10 @@ class DebuggerUI {
this.event.trigger('traceUnloaded')
}
async deletHighlights () {
await this.debuggerModule.call('editor', 'discardHighlight')
}
renderDebugger () {
yo.update(this.debuggerHeadPanelsView, this.vmDebugger.renderHead())
yo.update(this.debuggerPanelsView, this.vmDebugger.render())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment