pull/3/head
LianaHus 5 years ago committed by Liana Husikyan
parent 1dc53ecff2
commit 8a86478ede
  1. 2
      src/app/editor/sourceHighlighter.js

@ -61,7 +61,7 @@ class SourceHighlighter {
}
`
this.statementMarker = this._deps.editor.addMarker(lineColumnPos, this.source, css.highlightcode.className + ' ' + css.customBackgroundColor.className + ' ' + `highlightLine${lineColumnPos.start.line}`)
this.statementMarker = this._deps.editor.addMarker(lineColumnPos, this.source, css.highlightcode.className + ' ' + css.customBackgroundColor.className + ' ' + `highlightLine${lineColumnPos.start.line}`)
this._deps.editor.scrollToLine(lineColumnPos.start.line, true, true, function () {})
this.position = lineColumnPos
if (lineColumnPos.start.line === lineColumnPos.end.line) {

Loading…
Cancel
Save