Assign editors as text input handlers
Co-authored-by: Marshall <marshall@zed.dev>
This commit is contained in:
parent
b2ae08b159
commit
bd12e3edb6
3 changed files with 402 additions and 396 deletions
|
@ -2624,7 +2624,7 @@ impl Element<Editor> for EditorElement {
|
|||
});
|
||||
|
||||
if editor.focus_handle.is_focused(cx) {
|
||||
cx.set_input_handler(editor.handle);
|
||||
cx.handle_text_input();
|
||||
}
|
||||
|
||||
cx.with_content_mask(ContentMask { bounds }, |cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue