Text input: Copy, Cut, Paste and SelectAll are public, so an app's Edit menu reaches a focused field
CI / platforms (ubuntu-24.04) (push) Waiting to run
CI / platforms (windows-latest) (push) Failing after 9s
CI / site (push) Successful in 22s
CI / crate (push) Failing after 11m28s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-15 10:07:08 -04:00
1 parent 5a53c08c84
commit a2cb531e06
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -116,10 +116,10 @@ pub use switch::Switch;
pub(crate) use syntax::{Syntax, syntax_fenced, syntax_of};
pub use tags::TagInput;
pub(crate) use text::{
Backspace, Copy, Cut, Delete, DeleteWordLeft, Down, Enter, Left, Paste, Redo, Right, Submit,
Undo, Up, bind_keys, from_utf16, to_utf16,
Backspace, Delete, DeleteWordLeft, Down, Enter, Left, Redo, Right, Submit, Undo, Up, bind_keys,
from_utf16, to_utf16,
};
pub use text::{Highlight, History, InputEvent, TextInput};
pub use text::{Copy, Cut, Highlight, History, InputEvent, Paste, SelectAll, TextInput};
pub use transfer::TransferList;
pub use unit::UnitInput;
pub use upload::{Upload, UploadList, UploadState};
+2 -2
View File
@@ -13,9 +13,9 @@ use gpui::{
};
pub(crate) use actions::{
Backspace, Copy, Cut, Delete, DeleteWordLeft, Down, Enter, Left, Paste, Redo, Right, Submit,
Undo, Up, bind_keys,
Backspace, Delete, DeleteWordLeft, Down, Enter, Left, Redo, Right, Submit, Undo, Up, bind_keys,
};
pub use actions::{Copy, Cut, Paste, SelectAll};
pub use edit::History;
use edit::Snapshot;
pub(crate) use edit::{from_utf16, to_utf16};