Commit Graph
39175 Commits
Author SHA1 Message Date
Mikayla Maki b1a384f96c added cursor text back 2022-07-21 10:04:12 -07:00
Antonio Scandurra 8faec49db3 Don't dispatch keydown event if editor is still composing 2022-07-21 17:37:32 +02:00
Antonio Scandurra 379f8887ba Position IME input according to where the selection is rendered 2022-07-21 17:35:40 +02:00
Antonio Scandurra 18c1c8fa97 Always mark keydown events as handled to suppress beep 2022-07-21 15:53:21 +02:00
Antonio Scandurra c11cb83faa 🎨 2022-07-21 14:39:22 +02:00
Antonio Scandurra 1613207abd Handle keydown event even when charactersIgnoringModifiers is empty
This allows the input system to work in the presence of dead keys.
2022-07-21 14:36:47 +02:00
Antonio Scandurra 7ac7137f6c Remove input from KeyDownEvent 2022-07-21 14:29:27 +02:00
Antonio Scandurra aa9a4b6fb4 Remove println statements from NSTextInputClient protocol functions 2022-07-21 13:51:31 +02:00
Antonio Scandurra 0bb08ee3f7 Remove unused {cancel,finish}_composition methods 2022-07-21 13:48:56 +02:00
Antonio Scandurra cdfa679eef Restructure IME composition to not follow Chromium so closely 2022-07-21 13:41:55 +02:00
Antonio Scandurra dbe8a85af5 Treat NSTextInputClient ranges as UTF-16 2022-07-21 13:41:35 +02:00
Antonio Scandurra d103825bc6 Start indexing UTF-16 offsets
This is needed because cocoa will report ranges as UTF-16 indices.
2022-07-21 09:40:48 +02:00
Antonio Scandurra 02cf03474b Honor setting the selected range in addition to marking text 2022-07-21 08:57:20 +02:00
K Simmons 2e0f73ff3a fix test failure 2022-07-20 19:13:16 -07:00
K Simmons e43451b8be tweak diagnostic popover colors 2022-07-20 19:02:33 -07:00
K Simmons 3d9beeb468 address warnings 2022-07-20 19:02:33 -07:00
K Simmons f14c30511d add test coverage for diagnostic popover 2022-07-20 19:02:33 -07:00
K Simmons ed91cee43d working diagnostic popover. Also renamed GoToNextDiagnostic to GoToDiagnostic and adjusted it's action to jump to the popover's diagnostic if it is visible 2022-07-20 19:02:33 -07:00
K Simmons e8ca9de640 WIP 2022-07-20 19:02:33 -07:00
K Simmons 66bb6b75fb Fix warning 2022-07-20 19:02:12 -07:00
K Simmons b31b867200 Address some issues where panes don't get focused properly, make the focused pane more obvious, and prevent splitting of the pane with no items 2022-07-20 18:52:32 -07:00
Max Brunsfeld 6288cafecf Use new API for input handling in Terminal 2022-07-20 17:33:37 -07:00
Mikayla Maki 820ab0c8c5 Render is snappier, less locking, and errors feel nicely modeled 2022-07-20 17:25:21 -07:00
Mikayla Maki 1d659d3422 I think I'm finished 2022-07-20 17:11:36 -07:00
Mikayla Maki be27f62889 Compiling with new result based error handling 2022-07-20 16:48:40 -07:00
Max Brunsfeld bda456a5d1 Start work on new text input handling in Editor 2022-07-20 16:45:27 -07:00
Max Brunsfeld eccd21aad6 Call methods on the focused view during input events 2022-07-20 16:44:26 -07:00
Keith Simmons b57f9bed6c Merge pull request #1392 from zed-industries/mouse-vim-mode-clipping
Fixup Clipping at Line Ends when Selecting with the Mouse in Vim Mode
2022-07-20 13:39:24 -07:00
Mikayla Maki f43d91cebe Checkpoint, this commit does not compile 2022-07-20 12:41:04 -07:00
Mikayla Maki 7027cf5131 Fixed failing test 2022-07-20 10:34:00 -07:00
Mikayla Maki 2727a84612 Maybe fixed toml 2022-07-20 10:04:08 -07:00
Mikayla Maki f822aff2a5 Maybe fixed toml 2022-07-20 10:04:08 -07:00
Mikayla Maki 918ac54cd5 Updated alacritty version 2022-07-20 10:04:08 -07:00
Mikayla Maki d56780e624 Done updating rendering performance for now. Further changes would require more fundamental work, I'm still not really happy with it as is though. Will probably take a few hours to clean the code though. 2022-07-20 10:04:08 -07:00
Mikayla Maki c2cd90d76f Compiling again... finally 2022-07-20 10:04:08 -07:00
Mikayla Maki 94be942845 Finally finished merging this massive ball of changes 2022-07-20 10:04:08 -07:00
Mikayla Maki c0b0b2a7e5 Attempting to continue rebase 2022-07-20 10:04:08 -07:00
Mikayla Maki 9a0703cd7e Finished graceful terminal failure 2022-07-20 10:04:08 -07:00
Mikayla Maki 95aa56b556 Rebasing continues 2022-07-20 10:04:08 -07:00
Mikayla Maki 7eae8ff243 Switched to hybrid iterator and while loop grid processor. Still hairy but much more managable. Not finished compiling yet. 2022-07-20 10:04:08 -07:00
Mikayla Maki c53f8cd9f7 Continuing rebases on other work 2022-07-20 10:04:08 -07:00
Mikayla Maki 7dabd20417 Finished design touchups 2022-07-20 10:04:08 -07:00
Mikayla Maki b7d962d8d1 Finished bel, moving on to title 2022-07-20 10:04:06 -07:00
Max BrunsfeldandAntonio Scandurra <antonio@zed.dev ae72d1da3e Change interpretation of marked_text and edit when handling input
Co-authored-by: Antonio Scandurra <antonio@zed.dev
2022-07-20 09:53:49 -07:00
Antonio Scandurra 1e94068a66 WIP 2022-07-20 18:06:29 +02:00
Nate Butler 9ab1283353 Merge pull request #1380 from zed-industries/theme-improvements
Theme improvements
2022-07-20 10:40:09 -04:00
Antonio Scandurra 1da1545f84 WIP 2022-07-20 15:07:09 +02:00
K Simmons 383c91c26c Fix failing test re mode switch in buffer search 2022-07-19 17:18:17 -07:00
K Simmons 10f65f70d7 Fix clipping when dragging the mouse with vim-mode enabled and adjust single line editor selections 2022-07-19 17:18:17 -07:00
Nate Butler 8142842adb Regenerate package-lock.json 2022-07-19 20:12:50 -04:00