atom-asciidoc-preview icon indicating copy to clipboard operation
atom-asciidoc-preview copied to clipboard

Preview does not respect Pending Pane items

Open r0ckarong opened this issue 6 years ago • 0 comments

Description

Atom 1.6 introduced pending pane items. Meaning if you single-click on a file in the tree view it will get opened in a tab in the editor but only for previewing purposes. Once you either double click the file in the tree view, click the header of a pending pane or start actually doing work on it it gets converted into a permanent pane.

If you click another file the current tab will be filled with the new file instead of opening a second tab.

When you start AsciiDoc Preview from a pending pane it takes over the tab instead of opening in a new tab. This means that the pending file you have looked at and wanted to preview is closed and you have to re-open it.

I find this behavior unintuitive and would expect Preview to open in a new tab regardless of what the state of the tab is that it was started from. Ideally Preview would set the pending pane to a permanent state and open in a new tab so the file I preview can be edited directly.

  • Atom version: 1.19.3
  • OS: macOS 10.12.6
  • asciidoc-preview version: 2.10.2
  • language-asciidoc version: 1.10.0

Screenshots

screen shot 2017-08-24 at 11 23 40 screen shot 2017-08-24 at 11 23 48 screen shot 2017-08-24 at 11 23 52

r0ckarong avatar Aug 24 '17 09:08 r0ckarong