Commit Graph

8 Commits

Author SHA1 Message Date
Ryan Fleury 0c674066e0 separation of file-only, folder-only and file-or-folder selection paths, slight tweaks to filesystem lister behavior for each; other small visual tweaks/fixes 2024-01-23 13:47:14 -08:00
Ryan Fleury 7c3de4fe5b add support in ui layer for re-rooting keyboard focus stack, which short-circuits the focus-off search through the focus stack 2024-01-23 13:08:00 -08:00
Ryan Fleury a94e1b1928 major simplification pass over command query system; eliminate per-window query views, just collapse down to a single query view stack per-window (way simpler and honestly just what everyone does anyways); simplify/dejankify ui focus system 2024-01-21 21:07:04 -08:00
Ryan Fleury c88f715ac2 fix horizontal scroll in text containers causing repeated hidden animation 2024-01-14 14:53:45 -08:00
Jack Punter 3917218a4e Fix horizontal chunk movement
The current horizontal chunk motion (ctrl + left/right arrow by default) does not work like most other editors, subverting the users expectation. The behaviour of most editors from my experience is as follows:
1. Skip any leading whitespace in the motion
2. If the next char is:
    - Alphanumeric or `_`, move up until the next symbol that isn't one of those
    - not one of the above move either up until: the next whitespace character or the same rules as above if an alphanumeric or `_` is encountered before whitespace.

e.g. Assume the current cursor position and string `... |mystruct.member ...`
The current code will move to the end of the whole struct accessor: `... mystruct.member| ...`
Most other editors would move to the end of the struct name: `... mystruct|.member ...`
In this case the current behaviour may not seem _that_ agregious, but in other cases its much more annoying
especially if you're looking to copy into a watch window or something as in this case:
`|ui_nav_scanned_column_from_column(String8 string, ...)`
the cursor will move to: `ui_nav_scanned_column_from_column(String8| string, ...)`
which is almost certainly not what the user wanted.

This behaviour means that if you want to copy a symbol, you can consistantly achieve this by chunk moving to one end, pressing shift, then chunk moving to the other end without ever getting extra symbols/whitespace. This is currently not possible with existing chunk motions.
2024-01-13 15:33:07 -08:00
Ryan Fleury c0322437d6 arresting confirmation ui - use in exit-while-debugging 2024-01-13 14:48:02 -08:00
Ryan Fleury dd43fd2564 allow fall-through clicks on context menus; fix busted context menu sizing in theme color popup 2024-01-11 11:05:02 -08:00
Ryan Fleury a42ec6aeff initial upload 2024-01-10 19:57:50 -08:00