How to use it:
1. Position the cursor where you want your first caret
2. Execute the macro -> A space will be inserted and selected
3. If you want more carets, Place your cursor where you want your next caret and repeat from 2
4. Otherwiise start typing
This doesn't give you automatic End-Of-Line multiple-carets, but at least you have something.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry! I think i understood what you meant: If I place the cursors (selections) at the end of the lines, I can only insert new characters and not even delete them. Also I cannot delete to the left.
Last edit: Skeeve 2017-10-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does this macro help a bit?
How to use it:
1. Position the cursor where you want your first caret
2. Execute the macro -> A space will be inserted and selected
3. If you want more carets, Place your cursor where you want your next caret and repeat from 2
4. Otherwiise start typing
This doesn't give you automatic End-Of-Line multiple-carets, but at least you have something.
And here is a macro which will select all your end-of-lines for the current selection(s)
So now you have something like the "multi-Caret-Editing".
Proposal: Close Ticket.
But MultipleSelection cannot edit / delete text outside of the selection..
You didn't try, did you?
Sorry! I think i understood what you meant: If I place the cursors (selections) at the end of the lines, I can only insert new characters and not even delete them. Also I cannot delete to the left.
Last edit: Skeeve 2017-10-30
https://youtu.be/XDuho3-nt4c
Wow, that's pretty cool! Perhaps we should add those macros to jEdit, although perhaps it needs some work still?
Last edit: Alan Ezust 2017-10-30
Feel free to add them. I do not see how I could enhance them. I'm not doing anything fancy.
The first macro simply inserts a space and selects it while keeping all the other selections.
The second one just inserts a space at the end of every selected line, dops the previous selection and selects all those spaces.
The only improvement I could think of lies within jEdit: You could allow to delete to the left of selections.
You see: In the movie, before I inserted th li-tags I pressed backspace to delete the numbers to the left of the selections. It didn't work.
Would I have used a rectangular, non-empty selection left of the numbers, I could have deleted them with backspace.
If you can make such deletions possible in jEdit, I think we have all we'd require for "multi-caret editing".
But I don't think I'm capable of changing jEdit accordingly.
P.S.: I think I broke sourceforge a bit by using less-than li greater-than ;) I deleted the post, but parts still show up here. Sorry :(