snuffing out ancient gotoLine line in app

pull/1/head
Rob Stupay 7 years ago
parent 89f45c2fb5
commit 3085fc1842
  1. 4
      src/app.js

@ -511,8 +511,8 @@ function run () {
if (config.get('currentFile') !== this.source) {
fileManager.switchFile(this.source)
}
this.statementMarker = editor.addMarker(lineColumnPos, 'highlightcode')
editor.gotoLine(lineColumnPos.start.line, lineColumnPos.start.column)
this.statementMarker = editor.addMarker(lineColumnPos, this.source, 'highlightcode')
editor.scrollToLine(lineColumnPos.start.line, true, true, function () {})
if (lineColumnPos.start.line === lineColumnPos.end.line) {
this.fullLineMarker = editor.addMarker({
start: {

Loading…
Cancel
Save