Alexey wrote:I cannot reproduce this. I focused editor, pressed F1 and called commands
-show side panel
-hide side panel
-toggle side/bottom panel
-show project panel
-show side panel, tree
and caret it still inside editor tab. ie focus in editor.
Okay, so I am using 64-bit version. Show/Hide Side Panel, and Toggle side/bottom panel (I use the toggles) work okay. But it is when using Show Specific Panel (Project, Console, etc.) that focus disappears.
1. Start CudaText fresh with both side/bottom panels hidden.
2. Use F1 or hotkey to "Show Tabs List."
Result: Tabs List is shown in side panel; there is no cursor/caret in editor, but the current tab in the list is highlighted. Pressing most keys does nothing, but press Up Arrow or Down Arrow, and the tab in the list is changed, and the actual tab in the editor is also changed to the previous/next tab, and focus is returned to editor. This happens on first use.
On subsequent uses:
1. Hide side panel.
2. Use F1 or hotkey to "Show Tabs List."
Result: Tabs List is shown in side panel; there is no cursor/caret in editor, but a tab in the list is highlighted--it is not the current tab, but appears to be the tab that was moved to in the sequence above. Pressing most keys does nothing, but press Up Arrow or Down Arrow, and the tab in the list is changed, but the actual tab in the editor does not change; focus is returned to editor.
Use F1 or hotkey to "Show Project Panel" and the project panel is properly shown, but only the first time. Change to Tree or to Tabs, after which "Show Project Panel" no longer shows the project panel, though it does make the side panel visible if it is hidden.
Use of Show Console/Output/Validation/SearchResults does show the bottom panel, if it is hidden, and does show the Console panel, but focus is lost. I can't find any key that returns focus to editor, except to toggle (hide) the bottom panel.
For me, these are working this way consistently. I hope using some of these steps, you can reproduce some of this behaviour (and hopefully correct it
.)
But in any case, there really needs to be a "Focus Editor" command.