Commit Graph
1865 Commits
Author SHA1 Message Date
Mia Vucinic 8ae792e74e add return value to with and withPrimaryCaret 2025-07-29 16:23:12 +02:00
Mia Vucinic 15660a9f3d make functions in output panel scope non suspend 2025-07-29 16:10:15 +02:00
Matt EllisandAlex Plãte 7d9fa418ce Support :k{mark} without separating whitespace
Fixes VIM-3915
2025-07-28 12:21:46 +03:00
Matt EllisandAlex Plãte 68e9538ac5 Remove unnecessary special case handling of subst
This was added before the grammar made whitespace optional between command and argument
2025-07-28 12:21:46 +03:00
Mia Vucinic f74552ef19 fix replaceText when editor is empty 2025-07-28 10:07:17 +02:00
Mia Vucinic a4e9e70df7 add test for inserting empty text and fix coerceIn function 2025-07-28 07:32:29 +02:00
Mia Vucinic 55b44aab53 implement add caret and remove caret functions 2025-07-28 07:32:18 +02:00
Mia Vucinic c95421518e fix path handling for jump and marks 2025-07-24 17:13:41 +02:00
Mia Vucinic a45b642d1e fix exceptions 2025-07-24 09:26:16 +02:00
Mia Vucinic 5d731ff818 fix editor size 2025-07-24 08:15:47 +02:00
Mia Vucinic 5f4cd75898 remove unnecessary getNextWordStartOffset function from VimScope 2025-07-24 08:15:09 +02:00
Mia Vucinic 9443f16551 remove unused variable and some comments 2025-07-24 08:00:00 +02:00
Mia Vucinic d5e64a8f28 split read into Read and ReadScope
- We want to be able to execute functions defined on read scope under write lock as well, which means we want to have transaction extend read. However, due to conflicting names for caret scope builders (forEachCaret, withPrimaryCaret etc.) it was necessary to split it into two scopes:
1) Read - contains only functions available under read lock
2) ReadScope - contains both caret scope builders and functions defined on Read
2025-07-23 12:01:28 +02:00
Mia Vucinic e7ec16e8f1 remove variable locking 2025-07-22 13:46:04 +02:00
Mia Vucinic 246e6e4444 remove onRemove method from listener 2025-07-22 13:41:18 +02:00
Mia Vucinic 02a9d284b3 repackage files 2025-07-22 12:47:00 +02:00
Mia Vucinic f5cf751a0a move files to appropriate packages 2025-07-22 12:31:53 +02:00
Mia Vucinic 6f4bd936f9 update docs 2025-07-22 12:12:39 +02:00
Mia Vucinic 657f7f5f9c fix modal input tests after rebasing 2025-07-22 08:22:45 +02:00
Mia Vucinic 62c816c80e refactor insert and replace text in caret transaction impl 2025-07-21 21:06:39 +02:00
Mia Vucinic 1b1d5815f4 fix validating offsets for replace text 2025-07-21 21:06:39 +02:00
Mia Vucinic 34af17d18e rename caretAfterInsertedText to caret at end 2025-07-21 21:06:39 +02:00
Mia Vucinic 67fa38d999 add caret transaction test 2025-07-21 21:06:39 +02:00
Mia Vucinic 891b6316eb add a replace text blockwise function 2025-07-21 21:06:39 +02:00
Mia Vucinic b00274699d add option scope test 2025-07-21 21:06:39 +02:00
Mia Vucinic 9e6fb85325 add test for digraph scope 2025-07-21 21:06:39 +02:00
Mia Vucinic f23e190849 delete on global option change listener 2025-07-21 21:06:39 +02:00
Mia Vucinic 36c2f797a9 add tests for search functions in VimScope 2025-07-21 21:06:39 +02:00
Mia Vucinic 98b19b2396 add variable tests 2025-07-21 21:06:39 +02:00
Mia Vucinic f9f4c6b17c add modes test 2025-07-21 21:06:39 +02:00
Mia Vucinic 8642f4afe9 remove suspend from some functions 2025-07-21 21:06:39 +02:00
Mia Vucinic 560689399b wrap body of export operator function in command 2025-07-21 21:06:39 +02:00
Mia Vucinic 758809f7d5 make some functions not suspend 2025-07-21 21:06:39 +02:00
Mia Vucinic cd1a7adc9e make listeners work with coroutines 2025-07-21 21:06:39 +02:00
Mia Vucinic 979ef3fa1c make api use coroutines 2025-07-21 21:06:39 +02:00
Mia Vucinic dbe9deec1c add forEachEditor function 2025-07-21 21:06:39 +02:00
Mia Vucinic c4bb7e4145 fix replace with register plugin to work in visual block mode 2025-07-21 21:06:39 +02:00
Mia Vucinic 72af6fc313 add functions from VimDigraphGroup 2025-07-21 21:06:39 +02:00
Mia Vucinic dba11ab1c3 implement path 2025-07-21 21:06:39 +02:00
Mia Vucinic 101d94e12a fix when some search functions return out-of-bounds offset 2025-07-21 21:06:39 +02:00
Mia Vucinic 9a79cdc3ab add functions from vim search helper 2025-07-21 21:06:39 +02:00
Mia Vucinic dd1c5412ed introduce read and transaction scope for command line 2025-07-21 21:06:39 +02:00
Mia Vucinic 6cb4e2946f delete unnecessary functions from command line scope 2025-07-21 21:06:39 +02:00
Mia Vucinic 641fd42ecf rename getOptionValue to get and resetOptionToDefault to reset 2025-07-21 21:06:39 +02:00
Mia Vucinic ee64316676 introduce option scope 2025-07-21 21:06:39 +02:00
Mia Vucinic ea415d4c4f decouple some functions in vim search helper from the caret 2025-07-21 21:06:39 +02:00
Mia Vucinic 6eb71cb95e add functions for saveFile and closeFile in VimScope 2025-07-21 21:06:39 +02:00
Mia Vucinic 86c225616e add initial vim storage service implementation 2025-07-21 21:06:39 +02:00
Mia Vucinic 30190b43fc rename isVariableLocked to islocked 2025-07-21 21:06:39 +02:00
Mia Vucinic bffa752855 rename parse variable value to convert to kotlin type 2025-07-21 21:06:39 +02:00