Commit 56b19ca0 authored by Rob Stupay's avatar Rob Stupay

updating mid merge

parent c5a01723
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -509,9 +509,8 @@ function run () {
if (config.get('currentFile') !== this.source) {
fileManager.switchFile(this.source)
}
this.statementMarker = editor.addMarker(lineColumnPos, this.source, 'highlightcode')
editor.scrollToLine(lineColumnPos.start.line, true, true, function () {})
this.statementMarker = editor.addMarker(lineColumnPos, 'highlightcode')
editor.gotoLine(lineColumnPos.start.line, lineColumnPos.start.column)
if (lineColumnPos.start.line === lineColumnPos.end.line) {
this.fullLineMarker = editor.addMarker({
start: {
......
......@@ -68,6 +68,12 @@ function Editor (opts = {}) {
editor.session.setBreakpoint(row, css)
}
this.setPosition = function (line, column, noClip) {
editor.moveCursorTo(line, column)
//var anchor = new ace.Anchor(editor, line, column)
//anchor.setPosition(line, column, noClip)
}
this.editorFontSize = function (incr) {
editor.setFontSize(editor.getFontSize() + incr)
}
......
......@@ -176,4 +176,5 @@ function Files (storage) {
}
}
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