Steps to reproduce:
- With the "Markdown Preview" package installed (which I believe is installed by default)
- Open a Markdown file
- Click Packages -> Markdown Preview -> Toggle Preview to display the markdown preview.
- Click on the markdown preview's tab
- Click Packages -> Tail -> Toggle...
Expected: The markdown preview tab stays at the bottom as I edit the markdown file.
Actual: One of the two errors below are thrown.
Atom: 1.14.2 x64
Electron: 1.3.13
OS: Ubuntu 16.04.1
Thrown From: tail package 0.1.0
Stack Trace 1
Uncaught TypeError: editor.onDidStopChanging is not a function
At /home/martin/.atom/packages/tail/lib/tail.coffee:38
TypeError: editor.onDidStopChanging is not a function
at Object.toggle (/packages/tail/lib/tail.coffee:38:38)
at /packages/tail/lib/tail.coffee:15:60)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
at CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:3:59)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/app.asar/src/command-registry.js:160:19)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/app.asar/src/atom-environment.js:1164:28)
at EventEmitter.outerCallback (/app.asar/src/application-delegate.js:320:25)
at emitThree (events.js:116:13)
at EventEmitter.emit (events.js:194:7)
Commands
2x -0:32.4.0 core:close (atom-pane.pane.active)
-0:24.6.0 core:save (input.hidden-input)
-0:17.6.0 tail:toggle (div.markdown-preview.native-key-bindings)
Stack trace 2
Uncaught TypeError: Cannot read property 'dispose' of null
At /home/martin/.atom/packages/tail/lib/tail.coffee:48
TypeError: Cannot read property 'dispose' of null
at Object.toggle (/home/martin/.atom/packages/tail/lib/tail.coffee:48:30)
at atom-workspace.<anonymous> (/home/martin/.atom/packages/tail/lib/tail.coffee:15:60)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:259:29)
at CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:3:59)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/opt/atom/resources/app.asar/src/command-registry.js:160:19)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/opt/atom/resources/app.asar/src/atom-environment.js:1164:28)
at EventEmitter.outerCallback (/opt/atom/resources/app.asar/src/application-delegate.js:320:25)
at emitThree (events.js:116:13)
at EventEmitter.emit (events.js:194:7)
Non-Core Packages
Steps to reproduce:
Expected: The markdown preview tab stays at the bottom as I edit the markdown file.
Actual: One of the two errors below are thrown.
Atom: 1.14.2 x64
Electron: 1.3.13
OS: Ubuntu 16.04.1
Thrown From: tail package 0.1.0
Stack Trace 1
Uncaught TypeError: editor.onDidStopChanging is not a function
Commands
Stack trace 2
Uncaught TypeError: Cannot read property 'dispose' of null
Non-Core Packages