Closed ventsislav-georgiev closed 6 hours ago
fixed. try :Lazy update
and let me know if any problems. thanks
@jake-stewart That was fast! Thanks! Tested and working.
@ventsislav-georgiev no worries. I just did another update which fixes an infinite loop when matchAddAll from middle of a word. So probably update again.
Having a visual selection on spanning more than one line doesn't work with mc.matchAllAddCursor.
Here is a video with the following list of operations:
viw
+mc.matchAllAddCursor()
vj
+mc.matchAllAddCursor()
- fails, the cursor just jumps to begining of selectionvj
+mc.addCursor('*')
+mc.addCursor('*')
- works, matching one by onehttps://github.com/user-attachments/assets/d42bf414-8138-489b-a537-f8cd4da4f4b7