-
Notifications
You must be signed in to change notification settings - Fork 130
Description
Hi,
Describe the bug
When I switch from buffer to buffer using the bindable commands, the cursor sometimes moves to L1C1. i.e.
Ctrl-Tab move_to_previous_buffer
Ctrl-Shift-Tab move_to_next_buffer
- If there is no other buffer to move to, the cursor always moves to L1C1.
- If we bump into the end/beginning of the buffer list, the cursor always moves to L1C1.
- When the cursor goes to L1C1, any previous selection remains highlighted
Using the the dialog to switch buffers does not reset the cursor position:
Alt-W show_open_file_dialog_in_search_mode
Expected behavior
Firstly, I want to preserve the cursor location however we switch to an open buffer. We should not have a persistent highlighted selection with the cursor at L1C1.
Secondly, I prefer a circular buffer list (excluding the welcome screen), not fussed about the order (by time opened, by time last edited).
Thirdly, could we disable the welcome screen if the editor has been started with a file parameter? I would prefer to close the application if the last buffer is closed. Having to dismiss the welcome screen to exit, is perhaps unnecessary? The welcome screen could be a Help or About screen - bound to F1?
Screenshots
After calling move_to_previous_buffer when only a single buffer is open:
OS: Windows [Version 10.0.19044.3086]
Focus Version: 0.2.0
Kind Regards Gavin Holt