Commit Graph
22 Commits
Author SHA1 Message Date
Max BrunsfeldandMarshall bd12e3edb6 Assign editors as text input handlers
Co-authored-by: Marshall <marshall@zed.dev>
2023-11-07 15:44:00 -08:00
b2ae08b159 Implement an InputHandler trait for gpui2
Co-Authored-By: Marshall <marshall@zed.dev>
Co-Authored-By: Max <max@zed.dev>
Co-Authored-By: Julia <julia@zed.dev>
2023-11-07 16:30:04 -07:00
Conrad Irwin a21c49c015 Make it possible to render a single line editor 2023-11-07 14:05:23 -07:00
Conrad Irwin 3a72f2122a Implement Editor::single_line 2023-11-07 11:12:36 -07:00
Antonio Scandurra d7e86eb1c1 Merge remote-tracking branch 'origin/main' into editor-movement 2023-11-07 18:48:08 +01:00
Antonio Scandurra 82a018996b WIP 2023-11-07 17:54:14 +01:00
b0650517ad Clip text when scrolling horizontally
Co-Authored-By: Julia <julia@zed.dev>
Co-Authored-By: Piotr <piotr@zed.dev>
2023-11-07 15:50:18 +01:00
b9e98c112f Re-enable scrolling for EditorElement
Co-Authored-By: Julia <julia@zed.dev>
Co-Authored-By: Piotr <piotr@zed.dev>
2023-11-07 15:48:08 +01:00
Antonio Scandurra bdf6e8bcc7 Merge remote-tracking branch 'origin/main' into editor2-paint 2023-11-07 13:09:48 +01:00
Antonio Scandurra 6ae09634ce Remove focused field and use FocusHandle instead in Editor 2023-11-07 12:46:31 +01:00
Antonio Scandurra a866370dc1 Paint lines 2023-11-07 12:25:33 +01:00
Antonio Scandurra e460f6a27c WIP 2023-11-06 18:59:46 +01:00
Antonio Scandurra 769526a76a Paint editor background 2023-11-06 15:54:09 +01:00
Antonio Scandurra 86d1defda2 Fix compile errors, now lines are being laid out 2023-11-04 14:37:57 +01:00
Max Brunsfeld 436dc93441 WIP2000 2023-11-03 16:40:37 -07:00
Antonio Scandurra 2a672e2126 WIP 2023-11-03 18:55:20 +01:00
Antonio Scandurra d3b02c4de4 WIP: start on editor element 2023-11-03 17:14:17 +01:00
Nathan Sobo fbee6b5352 Get editor2 compiling with a ton of code commented out 2023-11-02 23:35:20 -06:00
Nathan Sobo f3b8a9d8c2 WIP 2023-11-02 22:56:04 -06:00
Conrad Irwin 0aabb19a45 Into the woods 2023-11-02 18:52:08 -06:00
Conrad Irwin 583c36e24b WIP 2023-11-02 15:27:49 -06:00
Conrad Irwin 09efa017d4 Editor2 2023-11-02 14:36:42 -06:00