Commit Graph
5765 Commits
Author SHA1 Message Date
Alex Plate 6f3a9c210e Convert Argument to new API 2022-02-16 14:21:17 +03:00
Alex Plate 6fdd6d839e Remove IJ API from CommandBuilder 2022-02-16 14:00:03 +03:00
Alex Plate ac1101a410 Update wrapInsertedTextWithVisualMarks code 2022-02-16 12:53:40 +03:00
Alex Plate 2fd33e6ec2 Unbind command state from IJ api 2022-02-15 21:46:20 +03:00
Alex Plate 779c69a982 Abstract action executor 2022-02-15 21:46:20 +03:00
Alex Plate 3494286e66 Rename .java to .kt 2022-02-15 21:46:20 +03:00
Alex Plate 139b78d7f4 Add a protection from an accidental usage of equals in VimCaret and VimEditor 2022-02-15 21:46:19 +03:00
Alex Plate daee2f615c Remove IjVimEditor usages from KeyHandler 2022-02-15 21:46:19 +03:00
Alex Plate 710825ec28 Fix incorrect usage of template presentation 2022-02-15 21:46:19 +03:00
Alex Plate 478539911b Update MappingInfo to use new api 2022-02-15 21:46:19 +03:00
Alex Plate b21d984cf8 Switch from application service to singleton 2022-02-15 21:46:19 +03:00
Alex Plate 1a92cebf6b Reformat KeyHandler 2022-02-15 21:46:18 +03:00
Alex Plate fd3f939526 Remove few dependencies to IJ API 2022-02-15 21:46:18 +03:00
Alex Plate 7d28760fa1 Inline several methods into beforHandleKey 2022-02-15 21:46:18 +03:00
Alex Plate 4a0a1c95a9 Remove a few IJ classes from KeyHandler 2022-02-15 21:46:18 +03:00
Alex Plate 9da0c10141 Remove Ref from KeyHandler 2022-02-15 21:46:18 +03:00
Alex Plate 43b9ecdf3c Get rid of Editor in KeyHandler.kt 2022-02-15 21:46:18 +03:00
Alex Plate 987952a2f2 Get rid of DataContext in KeyHandler.kt 2022-02-15 21:46:17 +03:00
Alex Plate 92f6ac57ad Remove usages of flushDelayedKeyEvents
I'm not sure about this commit, but currently it seems like this method does nothing because of fixes in JBR

See 39265c4773de6a8e26e7ac376428687e1332dffe in IJ repository
2022-02-15 21:46:17 +03:00
Alex Plate b4af51f3cc Add vim implementation of logger 2022-02-15 21:46:17 +03:00
lippfi 4ba6e62ada Fix gv 2022-02-15 13:42:40 +03:00
lippfi 8f55551339 Mocked tests for tabmove 2022-02-14 13:11:58 +03:00
Alex Plate f03d574e86 Update formatting 2022-02-13 00:12:41 +00:00
lippfi cbb5fbe92e Add vimscript statistic 2022-02-11 14:54:34 +03:00
lippfi 6a376ad62c Add shortcut conflict statistic 2022-02-11 14:53:09 +03:00
lippfi 8e61853459 Add PluginState statistic 2022-02-11 14:51:44 +03:00
lippfi b17bc1bb3e Add ActionTracker statistic 2022-02-11 14:48:15 +03:00
lippfi 1343c7603b Rename VimStatistic to OptionState 2022-02-11 14:46:18 +03:00
Alex Plate 5b5a4b1347 Fix tests 2022-02-11 11:26:12 +03:00
Alex Plate 62fb3f9c5a Make IdeaVim compatible with 213+ only 2022-02-11 10:58:38 +03:00
Alex Plate 986378db42 Comment out two incompatipable tests 2022-02-11 10:21:58 +03:00
Alex Plate ce99c26c03 Introduce ExecutionContext - abstract context holder 2022-02-10 18:03:40 +03:00
Alex Plate 3571595838 Use VimEditor in Local scope of options 2022-02-10 17:10:30 +03:00
Alex Plate c0c450124f Fix test 2022-02-10 17:07:39 +03:00
Alex Plate aa62022218 Reorder functions 2022-02-10 16:26:36 +03:00
Alex Plate 71c27babfd Update tests 2022-02-10 16:24:13 +03:00
Alex Plate 2ff93270d7 Konvert keyHandler to kotlin 2022-02-10 16:17:59 +03:00
Alex Plate c07719dd3d Rename KeyHandler.java to KeyHandler.kt 2022-02-10 16:17:41 +03:00
Alex Plate 6b7ef88418 Fix test 2022-02-10 16:07:11 +03:00
Alex Plate ee9f12180d Extract VimActionExecutor 2022-02-10 13:18:23 +03:00
Alex Plate 8df3bc57c5 Execute action execution to a separate class 2022-02-10 13:15:54 +03:00
Alex Plate 0aabb2971e Support extension handlers with a callback
After the refactoring of AceJump, the current approach is not synchronous anymore.
So, it's needed to explicitly notify IdeaVim that the motion was finished and IdeaVim can continue the execution
2022-02-10 12:55:44 +03:00
Alex Plate e8f1dff61c Add some comments for handler injector 2022-02-09 11:46:04 +03:00
Alex Plate e5460d7a31 Extract keyHandlerKeeper 2022-02-08 18:20:12 +03:00
Alex Plate 2bb44c414f Refactoring for the new api 2022-02-08 14:20:35 +03:00
Alex Plate ef7442c488 Create carets() method in VimEditor 2022-02-08 14:20:34 +03:00
Alex Plate 775bde62c8 VimEditor update 2022-02-08 14:20:34 +03:00
Alex Plate c5a504bde3 Top level editor is hidden behind VimEditor 2022-02-08 14:20:34 +03:00
Alex Plate f7f7e010c4 Update dic 2022-02-08 14:20:34 +03:00
Alex Pláte 684d192b4b Remove unnecessary code update 2022-02-08 14:13:49 +03:00