On 5 02 2015, at 11:07, Allan Odgaard mailinglist@textmate.org wrote:
I think the most likely way to handle this is by iterating over the selections, and re-run the command for each, but that would only be for commands that have no input/output or which work on the selection.
It might be more complex with other combinations of input/output, and for some commands, it might make sense to opt in to “run only once, and get everything”.
Though even though we have moved to beta, this particular issue is far down on the list, but it’s certainly a personal desire to have commands (and snippets, which should be simpler) work with multiple carets…
Personally I’d be very happy if at least snippets will respect multiple carets.
In HTML I use multiple carets very often and I also have a big snippet library that is useless in those cases.
So I’ve been waiting for this to work since the day TM added multiple carets.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate