ralf3u left a comment (geany/geany#4251)

>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 memory width=100% THEN do not remember width of sidebar.`
That would allow this scene:
1. condition: only editor is visible (so, no sidebar)
2. press the shortcut "Toggle Sidebar" (result: editor&sidebar are both visible)
3. press again the shortcut "Toggle Sidebar" (result: only editor is visible, 
so no sidebar)
4. press the shortcut "Toggle between only editor and only sidebar" (result: 
only sidebar is visible)
5. press again the shortcut "Toggle between only editor and only sidebar" 
(result: only editor is visible)
6. press the shortcut "Toggle Sidebar" (result: editor&sidebar are both visible)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4251#issuecomment-2693984871
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/4251/[email protected]>

Reply via email to