pull/518/head
yann300 4 years ago
parent af310de32d
commit d2509f6e7d
  1. 6
      apps/remix-ide-e2e/src/tests/generalSettings.test.ts
  2. 4
      apps/remix-ide/src/app/ui/renderer.js

@ -178,8 +178,8 @@ const remixIdeThemes = {
primary: '#2A9FD6',
secondary: '#555',
success: '#77B300',
info: '#9933CC',
warning: '#FF8800',
danger: '#CC0000'
info: '#93C',
warning: '#F80',
danger: '#C00'
}
}

@ -87,8 +87,8 @@ Renderer.prototype.error = function (message, container, opt) {
// extract line / column
let position = text.match(/^(.*?):([0-9]*?):([0-9]*?)?/)
opt.errLine = position ? position[2] : -1
opt.errCol = position ? position[3] : -1
opt.errLine = position ? parseInt(position[2]) - 1 : -1
opt.errCol = position ? parseInt(position[3]) : -1
// extract file

Loading…
Cancel
Save