Commit 89f45c2f authored by Rob Stupay's avatar Rob Stupay

updating rebase fix

parent 7c12479b
...@@ -200,7 +200,6 @@ function run () { ...@@ -200,7 +200,6 @@ function run () {
startdebugging(txResult.transactionHash) startdebugging(txResult.transactionHash)
}) })
// ----------------- Tx listener ----------------- // ----------------- Tx listener -----------------
var transactionReceiptResolver = { var transactionReceiptResolver = {
_transactionReceipts: {}, _transactionReceipts: {},
...@@ -402,8 +401,20 @@ function run () { ...@@ -402,8 +401,20 @@ function run () {
} }
var renderer = new Renderer(rendererAPI) var renderer = new Renderer(rendererAPI)
// ----------------- StaticAnalysis -----------------
var staticAnalysisAPI = {
renderWarning: (label, warningContainer, type) => {
return renderer.error(label, warningContainer, type)
},
offsetToLineColumn: (location, file) => {
return offsetToLineColumnConverter.offsetToLineColumn(location, file, compiler.lastCompilationResult)
}
}
var staticanalysis = new StaticAnalysis(staticAnalysisAPI, compiler.event) var staticanalysis = new StaticAnalysis(staticAnalysisAPI, compiler.event)
// ---------------- Righthand-panel -------------------- // ---------------- Righthand-panel --------------------
var rhpAPI = { var rhpAPI = {
config: config, config: config,
setEditorSize (delta) { setEditorSize (delta) {
......
...@@ -70,8 +70,6 @@ function Editor (opts = {}) { ...@@ -70,8 +70,6 @@ function Editor (opts = {}) {
this.setPosition = function (line, column, noClip) { this.setPosition = function (line, column, noClip) {
editor.moveCursorTo(line, column) editor.moveCursorTo(line, column)
//var anchor = new ace.Anchor(editor, line, column)
//anchor.setPosition(line, column, noClip)
} }
this.editorFontSize = function (incr) { this.editorFontSize = function (incr) {
......
...@@ -176,5 +176,4 @@ function Files (storage) { ...@@ -176,5 +176,4 @@ function Files (storage) {
} }
} }
module.exports = Files module.exports = Files
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