Text input: Copy, Cut, Paste and SelectAll are public, so an app's Edit menu reaches a focused field
This commit is contained in:
2 files changed
+5
-5
No files matched your search
+3
-3
@@ -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};
|
||||
@@ -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};
|
||||
|
||||
Reference in new issue
Block a user