cf23b0e
Prompt for paths asynchronously to avoid double borrow
Antonio Scandurra created
cf23b0e
Prompt for paths asynchronously to avoid double borrow
Antonio Scandurra created
29d2236
Merge pull request #19 from zed-industries/single-global-action-dispatch
Dispatch global actions only once when triggering a menu item
Antonio Scandurra created
fb3a190
Merge pull request #18 from zed-industries/copy-paste
Introduce cut/copy/paste support
Antonio Scandurra created
f755cbb
Dispatch global actions only once when triggering a menu item
Previously we would dispatch the same global action more than once because we would invoke `dispatch_action_any` _and_ `dispatch_global_action_any`. However, the former already takes care of going through the global action handlers when no entity in the dispatch path handled the action.
Antonio Scandurra created
40980ed
Merge branch 'master' into copy-paste
Antonio Scandurra created
a1053f7
:memo:
Antonio Scandurra created
6a181ac
Add test for copying/cutting/pasting full lines
Antonio Scandurra created
4a39531
Handle paste correctly when there is only one full-line in the clipboard
Antonio Scandurra created
26f9127
Spawn worktree scanning on the scoped pool
Co-Authored-By: Brooks Swinnerton <934497+bswinnerton@users.noreply.github.com>
Nathan Sobo and Brooks Swinnerton created
e4f41de
Invert condition when opening entries
Co-Authored-By: Brooks Swinnerton <934497+bswinnerton@users.noreply.github.com>
Nathan Sobo and Brooks Swinnerton created
e3fbb97
Throttle worktree state updates on the main thread
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
f3a0a11
WIP
Nathan Sobo created
bc34ff5
Add a failing test for detecting a file move
Nathan Sobo created
41f50cd
Require a context when constructing a worktree
Nathan Sobo created
24cdfd2
Identify Worktree entries by their inode
This will allow us to re-parent elements when re-scanning when the file system changes.
Nathan Sobo created
3c0bbe5
Store root entry id
Nathan Sobo created
cdfd613
Switch worktree entries to HashMap
Nathan Sobo created
3803eb8
Inline clone
Nathan Sobo created
0cc5e8f
Replace easy-parallel with scoped-pool for path searches
The easy-parallel crate spawned new threads on each call, which was resulting in way too many threads. Co-Authored-By: Brooks Swinnerton <934497+bswinnerton@users.noreply.github.com>
Nathan Sobo and Brooks Swinnerton created
0a2d2aa
Replace app/app_mut on contexts with AsRef/AsMut impls
Co-Authored-By: Brooks Swinnerton <934497+bswinnerton@users.noreply.github.com>
Nathan Sobo and Brooks Swinnerton created
e082935
Handle 'full-line' clipboard items when pasting
Max Brunsfeld created
c83f02d
Implement multi-selection copy/cut/paste
Max Brunsfeld created
13514aa
Allow metadata to be associated with text written to clipboard
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra and Max Brunsfeld created
f4c1ffc
Start on copy-paste
Antonio Scandurra created
7469240
Rename application binary to improve appearance of app menu
Nathan Sobo created
0d69b63
Merge pull request #14 from zed-industries/menu-commands
Make the application menu dispatch commands on the focused view
Max Brunsfeld created
902b0f7
Dispatch menu commands on the focused view
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
d4436f3
Don't try to handle errors when opening platform windows
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
86c0f41
Move set_menus method to MutableAppContext
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
41358f3
Set up menu handler in App::new
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
2332b7e
Move open command handler to workspace global action
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
3247f49
Allow menu items to specify arguments for their commands
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
a0a0047
Merge pull request #13 from zed-industries/undo-stack
Undo/redo support
Max Brunsfeld created
b2723fd
Remove unused variables
Max Brunsfeld created
afa3f6d
Add test coverage for edit event grouping in transactions
Max Brunsfeld created
a0da237
Merge branch 'master' into undo-stack
Max Brunsfeld created
8f6b8b2
:memo:
Antonio Scandurra created
6ea2581
Merge pull request #12 from zed-industries/platform-trait
Hide platform code entirely behind App for framework users
Nathan Sobo created
487b60d
Merge pull request #10 from zed-industries/menus
Populate the menu bar
Nathan Sobo created
3a33fab
Generate operation when updating selection set after undo/redo
Antonio Scandurra created
59a9f01
Remove unnecessary edit_at method
Antonio Scandurra created
be68af4
Add unit test for history manipulation (undo, redo, grouping)
Antonio Scandurra created
606e6be
Simplify buffer history management
Antonio Scandurra created
ab14b99
Introduce transactional edits and allow snapshotting of selections
Antonio Scandurra created
40bfdd3
:lipstick:
Antonio Scandurra created
551c86f
WIP: Start on pushing selection management down into `Buffer`
Antonio Scandurra created
472ff16
Merge `UndoHistory` and `History`, storing also operations in the latter
Antonio Scandurra created
d0b06a2
Don't clear redo stack when editing
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
e534fe9
Add initial support for undo/redo stack
We're still not capturing selections/anchors, that's right up next.
Antonio Scandurra created
b9b5111
Make gpui::platform module private
Nathan Sobo created