pull/5370/head
yann300 4 years ago
parent d2b32174bd
commit 056025b636
  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', primary: '#2A9FD6',
secondary: '#555', secondary: '#555',
success: '#77B300', success: '#77B300',
info: '#9933CC', info: '#93C',
warning: '#FF8800', warning: '#F80',
danger: '#CC0000' danger: '#C00'
} }
} }

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

Loading…
Cancel
Save