updating mid merge

pull/1/head
Rob Stupay 7 years ago
parent c5a017233a
commit 56b19ca0b8
  1. 5849
      package-lock.json
  2. 5
      src/app.js
  3. 6
      src/app/editor/editor.js
  4. 1
      src/app/files/browser-files.js

5849
package-lock.json generated

File diff suppressed because it is too large Load Diff

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

@ -68,6 +68,12 @@ function Editor (opts = {}) {
editor.session.setBreakpoint(row, css) 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) { this.editorFontSize = function (incr) {
editor.setFontSize(editor.getFontSize() + incr) editor.setFontSize(editor.getFontSize() + incr)
} }

@ -176,4 +176,5 @@ function Files (storage) {
} }
} }
module.exports = Files module.exports = Files

Loading…
Cancel
Save