We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dac032 commit 919d7ceCopy full SHA for 919d7ce
lib/go-oracle-view.coffee
@@ -30,9 +30,8 @@ class GoOracleView extends View
30
line = parseInt(matches[2]) - 1
31
col = parseInt(matches[3]) - 1
32
33
- newEditor = atom.workspaceView.openSync(file)
34
- newEditor.setCursorBufferPosition([line, col])
35
-
+ newEditor = atom.workspace.open(file).then (newEditor) ->
+ newEditor.setCursorBufferPosition([line, col])
36
37
@oracle = new OracleCommand()
38
@oracle.on 'oracle-complete', (command, data) =>
0 commit comments