Extracted motions from normal mode
Changed vim_submode to be vim_operator to enable better composition of operators
Keith Simmons
created
670757e
Merge pull request #824 from zed-industries/fix-cursor-hidden-after-rename
Click to expand commit body
Always clear rename state when selections change
Nathan Sobo
created
2695b13
Always clear rename state when selections change
Click to expand commit body
At some point during the implementation of rename, we added logic for
invalidating the rename state when the selection moved outside the original
rename range. After transitioning to displaying renames as a block decoration,
we don't need that anymore given that a new, temporary editor is used instead.
This commit removes that invalidation logic and always calls `Editor::take_rename`
when the editor selections change. Doing so also fixes a bug that was causing Zed
to hide the cursor when clicking on the editor to dismiss the rename.
Antonio Scandurra
created
9820c6b
Merge pull request #822 from zed-industries/focus-project-search-query
Click to expand commit body
Fix focus bugs in `ProjectSearchView`
Nathan Sobo
created
3cdda79
Merge pull request #817 from zed-industries/dynamic-editor-highlights
Click to expand commit body
Store accessors for editor highlight colors not colors themselves
27057fd
Only process a single focus effect per batch
Click to expand commit body
This allows us to focus the query editor of the project search when deploying it. Previously, a complex interplay between focus events was preventing this from working in an intuitive way. What happened previously:
- We'd activate the project search, which enqueued a focus effect for the project search view
- We'd focus the query editor, which enqueued an effect
- We'd process the focus effect for the search view, which would enqueue an effect to transfer focus to the results editor
- We'd process the effect to focus the query editor
- We'd process the effect to focus the results editor
Now...
- We activate the project search pane item, enqueuing a focus effect for the project search itself
- We focus the query editor and *remove* the previous pending focus change effect
- We process the focus effect
Nathan Sobo
created
c420386
Revert "Focus Project Search query editor always when deployed"
Nathan Sobo
created
c4e0307
Merge pull request #820 from zed-industries/optimize-line-len
Click to expand commit body
Speed up `WrapSnapshot::line_len` using the indexed transforms