Closed SEbbaDK closed 6 years ago
Hm, that seems to be a new one. Are you on 1.23.0?
On Wed, Dec 13, 2017, 6:27 AM SEbbaDK notifications@github.com wrote:
When i enable the same pane switcher, a permanent pane is opened for the .h file instead of using the current pane.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dschwen/switch-header-source/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMWPnlWorSd7PGaQDlTmJ49T__Lf9f6ks5s_9DdgaJpZM4RAi36 .
I cannot reproduce this in 1.23.0. Can you give me a few more details? I.e. which files are open (h and/or c?), how many open panes do you have, which file is in which pane? What happens if you trigger switch-header-source the first time, what happens if you trigger it the second time?
Sorry, i was understanding pane as tab, and thought it would change the current tab to show the other file. I was at 1.23.0
Oh, yeah, I don't have an in-tab switching. Is this a requested feature? What would I do with unsaved changes when switching? I guess I could look at the pending tab state (when the tab title is italic) and allow in tab switching for pending tabs (as long as their content is unchanged).
Same tab switching would be optimal for me, since my header files are usually so small and i only edit them when touching the .c file too
This is actually in 0.27.0, just enable the "New tab pending" option and it will switch the pending tab to a new pending tab in place.
When i enable the same pane switcher, a permanent pane is opened for the .h file instead of using the current pane.