Commit Graph
137 Commits
Author SHA1 Message Date
Mia Vucinic 71f8c4af1e introduce simple range and block range 2025-07-21 21:06:38 +02:00
Mia Vucinic 884ab72fc6 rename fileSize to text length 2025-07-21 21:06:38 +02:00
Mia Vucinic d9f196af41 hide one getVariable function with @PublishedApi annotation 2025-07-21 21:06:38 +02:00
Mia Vucinic b148ed62eb remove getSelectionTypeForCurrentMode function since it is not used anymore 2025-07-21 21:06:38 +02:00
Mia Vucinic 7e78e27d6c introduce Line class 2025-07-21 21:06:38 +02:00
Mia Vucinic 504c98ab11 refactor vim scope 2025-07-21 21:06:38 +02:00
Mia Vucinic d09af15eb2 refactor transaction interface 2025-07-21 21:06:38 +02:00
Mia Vucinic cca73409bb refactor read interface 2025-07-21 21:06:38 +02:00
Mia Vucinic 71599ff01c rename highlighter to highlighter id 2025-07-21 21:06:38 +02:00
Mia Vucinic 2ec01d636b rename onPlugin listeners and delete onReplaceCharChange listener 2025-07-21 21:06:38 +02:00
Mia Vucinic 494da27353 make forEachCaret use sorted carets by default 2025-07-21 21:06:38 +02:00
Mia Vucinic f51d4af762 change functions to fields in caret read and change signatures of the text functions, update ReplaceWithRegister new api implementaion 2025-07-21 21:06:38 +02:00
Mia Vucinic dd9c1fdbdc get rid of register type 2025-07-21 21:06:38 +02:00
Mia Vucinic 8a505fd807 fix replace with register extension implementation 2025-07-21 21:06:38 +02:00
Mia Vucinic 0f9e8d3ad5 get rid of unnecessary text manipulation options in transaction functions, change tests and delete previous (incomplete) implementation of these functions 2025-07-21 21:06:38 +02:00
Mia Vucinic fdb3b8814a add initial implementation for changing modes 2025-07-21 21:06:38 +02:00
Mia Vucinic 260b4d62d6 add implementation for highlighted yank plugin 2025-07-21 21:06:38 +02:00
Mia Vucinic bdaf0e2389 remove unnecessary options 2025-07-21 21:06:38 +02:00
Mia Vucinic 91fdc91f69 add proper implementation for put data functions 2025-07-21 21:06:38 +02:00
Mia Vucinic 98f8226246 add listener scope implementation 2025-07-21 21:06:38 +02:00
Mia Vucinic 3a63ed596f add implementation with templates for getVariable function 2025-07-21 21:06:38 +02:00
Mia Vucinic a5f379a943 add VimPlugin dsl annotation on editor scope 2025-07-21 21:06:38 +02:00
Mia Vucinic 24a0322b5a add more functions to the read 2025-07-21 21:06:38 +02:00
Mia Vucinic 1a968f7721 move update caret to caret transaction 2025-07-21 21:06:38 +02:00
Mia Vucinic 6a896664ed introduce editor scope 2025-07-21 21:06:38 +02:00
Mia Vucinic 4d01f286f5 introduce caret scope 2025-07-21 21:06:38 +02:00
Mia Vucinic 9ab97106d7 make isRepeatable false by default 2025-07-21 21:06:38 +02:00
Mia Vucinic f1cb9247d1 add mapping scope 2025-07-21 21:06:38 +02:00
Mia Vucinic e946e74840 merge two mappings into one 2025-07-21 21:06:38 +02:00
Mia Vucinic 4db3e91d6a huge refactoring
- In the `api` module:
  - remove dependency on `vim-engine` module due to circular dependencies
  - move implementations of scopes to the `vim-engine`
  - add VimPluginDsl annotation to interfaces
  - make VimScope abstract class
  - remove ScopeBuilders file and move scope builders to the VimScope abstract class
 - In the `vim-engine` module:
  - add dependency on `api` module
  - add implementation of scopes
  - in VimInjector add new field - pluginService (reason for that is because functions from VimExtensionFacade are not available in the VimEngine)
2025-07-21 21:06:30 +02:00
Mia Vucinic cf95ea1fc9 add a proper implementation for getVariableInt 2025-07-21 21:05:43 +02:00
Mia Vucinic 20fe881597 move scopes to packages 2025-07-21 21:05:43 +02:00
Mia Vucinic 617eee6237 hide instances of editor, context and VimPluginApi from the user 2025-07-21 21:05:43 +02:00
Mia Vucinic 86b9238e5f have functions in VimPluginApi take editor and context as parameters instead of scopes 2025-07-21 21:05:43 +02:00
Mia Vucinic 4583b65a3e remove VimInitPluginScope 2025-07-21 21:05:43 +02:00
Mia Vucinic a283ee02ab rename VimPluginScope to VimScope 2025-07-21 21:05:43 +02:00
Mia Vucinic 8ea9b29e5e first api draft 2025-07-21 21:05:43 +02:00