T22: Edit's Copy, Paste and Select All are Ely's text input actions, which Ely a2cb531 exports and the terminal handles too, so the menu reaches find and every field; Select All counts a space under a combining mark as a character; comments cut to one short line; the Ely pin moves to a2cb531; AGENTS.md says gpui draws a shot window only while macOS shows it
This commit is contained in:
11 files changed
+56
-39
No files matched your search
+6
-3
@@ -6,7 +6,10 @@ use alacritty_terminal::{
|
||||
term::{ClipboardType, TermMode},
|
||||
vte::ansi::CursorShape,
|
||||
};
|
||||
use ely_gpui_component::theme::ActiveTheme;
|
||||
use ely_gpui_component::{
|
||||
forms::{Copy, Paste, SelectAll},
|
||||
theme::ActiveTheme,
|
||||
};
|
||||
use futures::StreamExt;
|
||||
use gpui::{
|
||||
Bounds, Context, EventEmitter, FocusHandle, Focusable, Font, FontFeatures, FontId, FontStyle,
|
||||
@@ -18,7 +21,7 @@ use super::{
|
||||
find::Finder,
|
||||
frame::frame,
|
||||
ink::Ink,
|
||||
input::{self, Copy, Find, Paste, SelectAll},
|
||||
input::{self, Find},
|
||||
mouse::MouseMode,
|
||||
paint::{self, Look},
|
||||
pointer::Pointer,
|
||||
@@ -269,7 +272,7 @@ pub fn load_font(font: &Font, system: &TextSystem) -> anyhow::Result<FontId> {
|
||||
Ok(id)
|
||||
}
|
||||
|
||||
/// The font, cell and metrics the settings give at `points` and this window's scale.
|
||||
/// Font, cell and metrics at `points` on this window.
|
||||
fn look(settings: &Settings, points: f32, ink: &Ink, window: &Window) -> anyhow::Result<Look> {
|
||||
let font = Font {
|
||||
family: settings.font_family.clone().into(),
|
||||
|
||||
Reference in new issue
Block a user