Conrad Irwin
|
4667110d0f
|
Fix multi-key shortcuts with modifiers
To make this work we need to move the handling of multiple possible key
events into the keyboard shortcut system.
This was broken in #2957.
|
2023-09-14 14:35:17 -06:00 |
|
Nathan Sobo
|
812d3f6af6
|
Get basic mouse_down and mouse_up working
|
2023-08-16 22:21:27 -06:00 |
|
Nathan Sobo
|
2615a11f7c
|
Don't export platform::* from gpui
I'd like to avoid cluttering the top-level namespace with all the platform-
specific types.
|
2023-04-07 11:45:53 -06:00 |
|
Mikayla Maki
|
27a80a1c94
|
WIP
|
2023-01-25 09:10:35 -08:00 |
|
 Mikayla MakiandAntonio
|
310d867aab
|
Switch PopUp windows to use the NSTrackingArea API and add support for the mouseExited event
Co-authored-by: Antonio <antonio@zed.dev>
|
2023-01-20 16:35:25 -08:00 |
|
Kay Simmons
|
73e7967a12
|
working f and t bindings
|
2023-01-06 14:24:20 -08:00 |
|
Joseph Lyons
|
21a0df406f
|
Add home and end key support
|
2022-12-26 00:24:26 -05:00 |
|
Mikayla Maki
|
8e6c5dbc3b
|
Fix unscaled scrolling when using an imprecise mouse wheel
|
2022-11-16 10:44:13 -08:00 |
|
K Simmons
|
a725ded95e
|
Add fn modifier to modifier keys in gpui and refactor platform events to use a single modifiers struct
|
2022-10-24 23:50:39 -07:00 |
|
Antonio Scandurra
|
25bba396ef
|
Cache CGEventSource and avoid leaking CGEvent when handling events
|
2022-09-30 09:51:03 +02:00 |
|
Mikayla Maki
|
1502c19208
|
Polished scrolling significantly
|
2022-09-02 15:47:35 -07:00 |
|
Mikayla Maki
|
efd3247ce4
|
Added modifiers to scroll wheel eevent
|
2022-08-19 12:10:12 -07:00 |
|
 ForLoveOfCatsandMikayla
|
8ba2f77148
|
One big cleanup pass of clippy lints
Co-authored-by: Mikayla <mikayla@zed.dev>
|
2022-08-10 16:51:01 -07:00 |
|
Antonio Scandurra
|
6a718dc4da
|
Don't insert input when the fn key is held
|
2022-07-27 12:01:44 +02:00 |
|
Antonio Scandurra
|
acdfb933e8
|
Honor shift if pressing command switches keyboard
|
2022-07-25 11:01:38 +02:00 |
|
Antonio Scandurra
|
7b009c8bbe
|
Merge branch 'main' into ime-support-2
|
2022-07-22 16:03:38 +02:00 |
|
Antonio Scandurra
|
2bfa3b9006
|
Synthesize CGEvents instead of using charactersByApplyingModifiers
|
2022-07-22 15:51:34 +02:00 |
|
Antonio Scandurra
|
622596619c
|
Honor ⌘ when Dvorak-QWERTY is used
|
2022-07-22 14:52:24 +02:00 |
|
Antonio Scandurra
|
136550de9f
|
Discard shift when it causes keyboard to output a different character
|
2022-07-22 08:15:44 +02:00 |
|
Antonio Scandurra
|
b2f2c5b055
|
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
|
101a0663d3
|
Remove input from KeyDownEvent
|
2022-07-21 14:29:27 +02:00 |
|
Antonio Scandurra
|
456a390166
|
Add character palette menu item
|
2022-07-19 14:51:57 +02:00 |
|
K Simmons
|
8add81350e
|
Rework presenter and MouseRegion to use Handler hashmap rather than individual fields
|
2022-07-17 23:19:32 -07:00 |
|
Keith Simmons
|
c139f1e6b6
|
combine branches of events in from_native
|
2022-07-06 16:59:58 -07:00 |
|
Keith Simmons
|
bcb553f233
|
Combine platform mouse events to use common MouseEvent struct and remove MouseDragged event in favor of MouseMoved
|
2022-07-06 16:37:56 -07:00 |
|
Keith Simmons
|
686e57373b
|
pull event data out into individual Event structs
|
2022-07-06 15:36:42 -07:00 |
|
Antonio Scandurra
|
9a6092dd1b
|
Support hitting enter on numpad
|
2022-07-04 10:01:56 +02:00 |
|
Keith Simmons
|
92ab107fc9
|
working jump to definition with tests
|
2022-06-24 15:09:31 -07:00 |
|
Keith Simmons
|
848445455d
|
Working underline based on symbol origin
|
2022-06-24 15:05:35 -07:00 |
|
Nathan Sobo
|
b110fd5fb7
|
Render a context menu when right-clicking in project panel
It doesn't currently do anything, but I managed to get it rendering in an absolutely positioned way.
|
2022-05-26 09:59:25 +02:00 |
|
Max Brunsfeld
|
21862faa58
|
Convert function keys to the correct macOS codes for menu items
|
2022-05-19 17:37:46 -07:00 |
|
Antonio Scandurra
|
61346f734d
|
WIP
|
2022-05-05 15:15:58 +02:00 |
|
Antonio Scandurra
|
dee416bdbe
|
Avoid text insertion when holding down the fn key
|
2022-04-04 11:13:35 +02:00 |
|
Keith Simmons
|
6ee0cceb14
|
Switch to using mouse navigation events instead of other in order to get rid of opaque button id
|
2022-03-09 15:04:04 -08:00 |
|
 
|
fc36c706d3
|
Add missing mouse button events and mouse history navigation
Co-Authored-By: Max Brunsfeld
Co-Authored-By: Nathan Sobo
|
2022-03-08 15:45:36 -08:00 |
|
Max Brunsfeld
|
5c1aff1143
|
Don't insert input into editors when control or command keys are held
This is a follow-up to #475
|
2022-03-02 14:09:46 -08:00 |
|
Nathan Sobo
|
618f0a127a
|
Don't insert input in editor when control keys are pressed
|
2022-02-21 18:21:27 -07:00 |
|
 Nathan SoboandAntonio Scandurra
|
960696a504
|
Bind autocomplete to ctrl-space
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
|
2022-01-31 11:34:19 -07:00 |
|
Nathan Sobo
|
e0bf5337ca
|
Merge pull request #244 from zed-industries/mouse-selections
Improve support for selecting text via the mouse
|
2021-11-23 18:11:04 -07:00 |
|
Max Brunsfeld
|
294769be35
|
Add outdent command, fix indent bugs
|
2021-11-23 16:44:05 -08:00 |
|
Nathan Sobo
|
73afb29b04
|
Use alt modifier instead of cmd to add selections
|
2021-11-23 16:23:30 -07:00 |
|
Nathan Sobo
|
d969f38850
|
Implement shift-click to extend the newest selection
|
2021-11-23 15:42:21 -07:00 |
|
 Antonio ScandurraandNathan Sobo
|
bcf38e6bb5
|
Implement word-wise mouse selection
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2021-11-23 18:50:17 +01:00 |
|
Antonio Scandurra
|
005a7076af
|
Expose a count field on Event::LeftMouseDown
|
2021-11-23 16:18:17 +01:00 |
|
Max Brunsfeld
|
0b63d882ce
|
Allow key bindings to F1 through F12
|
2021-11-18 14:23:36 -08:00 |
|
 Nathan SoboandMax Brunsfeld
|
fdfed3d7db
|
Move all crates to a top-level crates folder
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
|
2021-10-04 13:22:21 -06:00 |
|