ralf3u created an issue (geany/geany#4252)
When coding in the editor I can press the shortcut `Toggle Sidebar` to let appear the sidebar, so I can see editor&sidebar side by side. The focus is then still in the editor. I can change the size of the width of editor&sidebar by moving the vertical separating line with the mouse. When I press again the shortcut `Toggle Sidebar`, then the sidebar disappears. I like this behavior. But sometimes I would like to toggle between editor&sidebar and only sidebar.
**Remarks** - Yesterday I opened the issue 4251 at Geany. It is about the shortcut `Toggle between only editor and only sidebar`. The shortcut is different than this shortcut. - The shortcut `Toggle between editor&sidebar and only sidebar` should not take care if the message window is enabled or disabled. - If the shortcut `Toggle between editor&sidebar and only sidebar` is pressed, then the shortcut should first verify if sidebar is disabled. If sidebar is disabled, then nothing should happen. - If the shortcut `Toggle between editor&sidebar and only sidebar` is pressed, and if there is a toggle, then the focus should also toggle (if it toggles to editor&sidebar, the focus or rather the cursor should be in the editor; if it toggles to only sidebar, the focus should be in the content area of the sidebar).
ralf3u left a comment (geany/geany#4252)
If the shortcut Toggle between editor&sidebar and only sidebar is pressed, and if there is a toggle, then the focus should also toggle (if it toggles to editor&sidebar, the focus or rather the cursor should be in the editor; if it toggles to only sidebar, the focus should be in the content area of the sidebar).
This should be simple to code because there is already code that works for the shortcut "Switch to Editor" and for the shortcut "Switch to Sidebar".
Today I recognized that for this issue one need to change the memory for the width of the sidebar. The memory should be something like this: `IF sidebar width=100% THEN do not remember width of sidebar.`
github-comments@lists.geany.org