13 Commits (f5bb8cc89bf45eff1c1954cc1f8a09e6dce93c7e)

Author SHA1 Message Date
Keith Simmons 5c4026c4a4 organize use statements 3 years ago
Serg Tereshchenko aa340c5e41 style: Change variable name 3 years ago
vzex 740a24c05e remove mut ref in maybe_get_keybinding
the next_dead_key should be changed only when a key_pressed or a dead key released,don't ask me why, it just make things work right with winit.(all test case passed)
3 years ago
vzex 0469ac14f5 rename pre_is_dead to prev_dead_key 3 years ago
vzex 24a7234858 add more support for dead key
list user cases for dead key and modify key(alt), on mac:
1 (us keyboard):[options+e u]=>ú
2 (us keyboard):[options+8]=>•
3 (chinese keyboard) ime:[nihao space]=>你好
4 (Austria keyboard):[= a] => á
5 (Austria keyboard):[= q] =>`q
6 (Austria keyboard):[= =] =>´´q
7 (Austria keyboard):[= shift+= q] =>´`q
8 (Austria keyboard):[= esc] =>´ and leave insert mode
9 (Austria keyboard):[= left] =>´ and move caret to left
3 years ago
vzex 68816b346b fix bug for ctrl can't use 3 years ago
vzex feae712bae fix another type of dead key input 3 years ago
vzex 0fd299d995 fix macos dead key
after typing dead key, there is also an ime event triggered,so get text_with_all_modifiers is unnecessary
3 years ago
vzex 52c93d87af Update keyboard_manager.rs
rename
3 years ago
vzex bf1ea9c6e2 rename enum and vec queue 3 years ago
sunxiaomeng ccb28dda00 fix #243 ime input support 3 years ago
Keith Simmons 26169f84c0 Add event aggregator and remove manual usage of channels. Also add redraw editor command on resume 3 years ago
Keith Simmons 6b96f79bb1 move window files into main window directory rather than being window wrapper 3 years ago