enhancementhelp wanted
Description
Some scenarios:
- Turn an individual pane on and off with the Hide/Restore pane menu options. No problems as long as you restore the second pane. Note that the
Left 1:1 Rightmenu item will also work to restore two panes when only one is visible. - Hide one pane, let's say the Editor pane, though it doesn't matter. Now the menu items are
Restore Editor PaneandHide Preview Pane. Choose to hide the Preview pane, which is now the only pane visible, and you end up switching to the Editor pane. In other words, the Hide options now function as a toggle. This strikes me as odd, if not incorrect behavior. (I'd suggest that when only one pane is visible, the option to hide that pane should not be available.) - Further, this toggling behavior is not consistent. Hide the Editor pane. If you use the Hide/Restore menu item for the Preview pane (via shift-command-H), the screen will toggle between the two modes, as just described. Now instead, from two-pane mode, hide the Editor, hide the Preview, hide the Editor, restore the Editor. So that's shift-command-E, H, E, E. You should be in single-pane Editor mode. But now the
Restore Preview Paneoption doesn't work. Seems like you can recreate this in any single-pane environment by any hide-restore combo. Pretty sure this is a bug.
Here's a suggestion for redoing these menu items:
- Similar to the current:
- When both panes are visible, the menu items should say
Hide X Pane, as now. - When one pane is visible, the other pane's menu item should say
Show X Paneand the visible pane's item should be grayed out or saySwitch to X Pane. (I like Show better than Restore, because Restore implies that the default mode should be two-pane display.)
- When both panes are visible, the menu items should say
- Completely change the menu to have three items, which would be greyed out when appropriate:
- Show both panes (shift-cmd-R?)
- Show Editor Pane only (shift-cmd-E)
- Show Preview Pane only (shift-cmd-H)
- Completely change the menu to have one item that cycles through the same options just listed (shift-cmd-H?), showing one pane, then the other, then both.