755f05791a
Update search register when using f/t
2024-01-24 02:30:54 +01:00
aa4caaa722
Fix(VIM-3166): Workaround to fix broken filtering of visual lines
2024-01-24 02:30:53 +01:00
4380b88cbd
Add support for count for visual and line motion surround
2024-01-24 02:30:53 +01:00
deec7eef2e
Fix(VIM-696) Restore visual mode after undo/redo, and disable incompatible actions
2024-01-24 02:30:53 +01:00
2feffa9ff4
Revert(VIM-2884): Fix moving lines to cursor
2024-01-24 02:30:53 +01:00
f7f663f29a
Respect count with <Action> mappings
2024-01-24 02:30:53 +01:00
Filipp Vakhitov
1da8cd53d2
VIM-1377 Normal mode needs to be more obvious
...
Save mode widget colors state in XML
2024-01-23 01:27:57 +02:00
Filipp Vakhitov
a9ededc997
VIM-1377 Normal mode needs to be more obvious
...
Add color customization to mode widget
2024-01-23 01:27:57 +02:00
Matt Ellis
825b62a2a9
Refactor to remove lazy properties
2024-01-04 15:58:36 +02:00
Matt Ellis
5ec817776c
Use "vim" prefix for option keys
2024-01-04 15:58:36 +02:00
Matt Ellis
3ad0519add
Extract initialisation strategies to new class
2024-01-04 15:58:36 +02:00
Matt Ellis
9868522341
Only calculate stack trace if logging is enabled
2024-01-04 15:58:36 +02:00
Matt Ellis
5b8d8c617f
Improve type handling
2024-01-04 15:58:36 +02:00
Matt Ellis
a1f66061e3
Extract option storage to separate class
2024-01-04 15:58:36 +02:00
Matt Ellis
d8811933c9
Simplify resetting options for testing
2024-01-04 15:58:36 +02:00
Matt Ellis
c9864dde8d
Extract parsed values cache
2024-01-04 15:58:36 +02:00
Matt Ellis
ca849d6649
Simplify API of OptionListenersImpl
2024-01-04 15:58:36 +02:00
Matt Ellis
95a2354a86
Fix issue where global value wasn't properly set
2024-01-04 15:58:36 +02:00
Matt Ellis
538e0ac48c
Extract listener notification
...
Refactoring - no intentional changes in behaviour
2024-01-04 15:58:36 +02:00
Matt Ellis
cbe0f89548
Extract listener registration to separate class
...
Refactoring - no intentional changes in behaviour
2024-01-04 15:58:36 +02:00
Matt Ellis
615b071dcb
Rename methods for clarity
2024-01-04 15:58:36 +02:00
Filipp Vakhitov
fc46acb2e4
Move to concurrent list
2024-01-03 12:15:31 +02:00
Filipp Vakhitov
2f20193086
Post-review improvements
2024-01-03 12:15:31 +02:00
Filipp Vakhitov
e02d34f023
Better ShowMode widget & Macro recording widget
2024-01-03 12:15:31 +02:00
filipp
216f020b70
Add new listeners
2024-01-03 12:15:31 +02:00
Alex Plate
b307c7d88b
[VIM-2929]: Reset the key stack in case of exception during the execution
2024-01-02 13:57:12 +02:00
Alex Plate
7098d2633a
Add a helper function to key keystokes from string
2024-01-02 13:57:12 +02:00
Alex Plate
e36131b38b
[VIM-2929]: Adding logging for tracing the keyStack
2023-12-28 11:24:13 +02:00
Matt Ellis
8ab43e98fe
Remove unnecessary keeping visual mode flag
...
The value was only ever set to false.
2023-12-22 10:55:00 +02:00
Matt Ellis
4f407ccc03
Remove unused multikey-undo flag
...
It's uncertain what this was introduced for, and it's no longer used for any behaviour
2023-12-22 10:55:00 +02:00
Matt Ellis
5f3fddd3e4
Remove unnecessary post process method
...
We no longer need to post process the selection because it is up to the operator implementation to end in the correct mode
2023-12-22 10:55:00 +02:00
Matt Ellis
392f3b536d
Remove unnecessary mode reset
...
Visual mode should already have been exited before executing the operator. The operator's implementation is responsible for handling the final mode
2023-12-22 10:55:00 +02:00
Matt Ellis
155de2b396
Remove always true check and always exit visual
2023-12-22 10:55:00 +02:00
Matt Ellis
6c9930ac2a
Removes unnecessary 'exit visual' command flag
...
This flag is only used to modify the behaviour of visual operators, but all visual operators have the flag, which means it's unnecessary. The only behaviour for visual operators now is to exit visual mode.
Note that visual motions are implemented separately, and handle their own visual mode requirements (e.g. MotionArrowLeftAction).
2023-12-22 10:55:00 +02:00
Matt Ellis
9dddf4f4bc
Minor cleanup
2023-12-22 10:55:00 +02:00
Alex Plate
6384b28689
Refactor listeners to avoid manual unregister
...
However, manual removal of listeners may cause "double" remove in cause the user turns off the plugin and then closes IDE: firstly listener is removed manually, and then by dispose call
2023-12-19 01:44:57 +02:00
Alex Plate
e661466558
Small refactorings on IdeaSelectionControl
...
They are done because if we don't set timer to null after tests, we have a leaked project
2023-12-19 00:12:54 +02:00
filipp
5afd161fba
Update minimal supported version to 2023.3
2023-11-24 20:42:48 +02:00
Alex Plate
568d5ca4ff
Fix(VIM-3090): Cmd line mode saves the visual mode
...
Previously, cmd line mode always returned to normal mode. However, it should keep the visual or one-time modes
2023-11-24 17:42:33 +02:00
Alex Plate
a9991f2a50
Convert ProcessGroup to kotlin
2023-11-24 17:00:06 +02:00
Filipp Vakhitov
8fcca05565
Fix(VIM-3176): Reselecting visual selection after pasting above it select wrong lines
2023-11-23 22:53:07 +02:00
Alex Plate
22062f0c77
Fix(VIM-3190): Do not use octopus handler if the enter key is used with modifiers like shift or control
2023-11-22 11:51:57 +02:00
Alex Plate
f6eab62c3c
Fix(VIM-3184): Revert "VIM-3184: Temporally disable new handlers for the thin client"
...
This reverts commit 6960a34d02
.
2023-11-22 09:42:59 +02:00
Alex Plate
6960a34d02
VIM-3184: Temporally disable new handlers for the thin client
2023-11-21 13:09:52 +02:00
filipp
f80d1defcb
Add Javadoc
2023-11-17 14:00:38 +02:00
filipp
a9052a068f
Fix property tests
2023-11-17 13:05:30 +02:00
Alex Plate
9d20061924
Do not register VimShortcutKeyAction for esc and enter keys
...
This is no more needed as we have a different way of getting the key. Also, this causes a bug VIM-3169
2023-11-10 17:17:13 +02:00
Filipp Vakhitov
ddfe8cf361
Support temporary options
2023-11-10 16:01:22 +02:00
Filipp Vakhitov
93c83f773a
Add generated JSON files to gitignore
2023-11-10 16:01:22 +02:00
Filipp Vakhitov
876e16fa9e
Support registering commands from json
2023-11-10 16:01:21 +02:00