diff --git a/lib/main.js b/lib/main.js index 37dab80..2a463d5 100644 --- a/lib/main.js +++ b/lib/main.js @@ -77,7 +77,7 @@ export default class Main { evalCode() { let editor if (editor = atom.workspace.getActiveTextEditor()) { - range = { + var range = { start: { row: 0, column: 0 }, end: { row: editor.getLastScreenRow() + 1, column: 0 } }