Commit e18d330d authored by LianaHus's avatar LianaHus Committed by Liana Husikyan

using source highlighter /disabled now/

parent 8a86478e
...@@ -20,6 +20,7 @@ function staticAnalysisView (localRegistry, analysisModule) { ...@@ -20,6 +20,7 @@ function staticAnalysisView (localRegistry, analysisModule) {
this.lastCompilationSource = null this.lastCompilationSource = null
this.currentFile = 'No file compiled' this.currentFile = 'No file compiled'
this.sourceHighlighter = new SourceHighlighter() this.sourceHighlighter = new SourceHighlighter()
this.analysisModule = analysisModule
self._components = { self._components = {
renderer: new Renderer() renderer: new Renderer()
} }
...@@ -108,6 +109,7 @@ staticAnalysisView.prototype.run = function () { ...@@ -108,6 +109,7 @@ staticAnalysisView.prototype.run = function () {
return return
} }
const highlightLocation = (location, fileName) => { const highlightLocation = (location, fileName) => {
// await this.analysisModule.call('editor', 'highlight', location, fileName) @todo(#2834) use this after fixing the issue
this.sourceHighlighter.currentSourceLocationFromfileName(location, fileName) this.sourceHighlighter.currentSourceLocationFromfileName(location, fileName)
} }
const selected = this.selectedModules() const selected = this.selectedModules()
......
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