Closed ioquatix closed 7 years ago
@huba Do you think you can see if you can figure this out?
I think the problem is, it's selecting the wrong pane.
The order matters, you must close the script pane first, then the script output pane. I think then, when you open the script the 2nd time, it opens in the same pane as the previous output.
I wonder if we should explore using Panels: https://atom.io/docs/api/v0.189.0/Panel
I think I do have an experimental branch somewhere with panels. https://github.com/huba/script-runner/commit/daab3abd5d3fcfea1e64801b9007550522b9803f
Okay this should be fixed in the latest release, since I moved from Panes to Panels, and now atom manages this.
[Enter steps to reproduce:]
Atom: 1.19.0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: script-runner package 2.1.2
Stack Trace
Uncaught Error: Can't save destroyed buffer
Commands
Non-Core Packages