990ce13d3e
Implement motions to go to next/previous misspelled word
2024-01-27 06:12:04 +01:00
b8cf11257c
VIM-3238 Fix recording a macro that replays another macro
2024-01-25 00:58:38 +01:00
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
Alex Plate
5652774888
Exclude kotlin stdlib from the distribution
2023-12-01 11:19:18 +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
dependabot[bot]
14308956d7
Bump org.jetbrains:annotations from 24.0.1 to 24.1.0
...
Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations ) from 24.0.1 to 24.1.0.
- [Release notes](https://github.com/JetBrains/java-annotations/releases )
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JetBrains/java-annotations/compare/24.0.1...24.1.0 )
---
updated-dependencies:
- dependency-name: org.jetbrains:annotations
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 17:20:29 +02:00
dependabot[bot]
71339a66d7
Bump org.junit.jupiter:junit-jupiter-api from 5.10.0 to 5.10.1
...
Bumps [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit5 ) from 5.10.0 to 5.10.1.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 17:20:10 +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