+2
Completed

The possibility to apply a macro until the end of the file or for N times

esnip 12 years ago updated by Jon Skinner 11 years ago 3
We can save a macro and then run it how many times we want, but we have to do it manually, it would be nice if we could use the macro until the end of the file or for N times.


Answer

+2
Answer
Completed
Use multiple selections to do this: e.g., Ctrl/Cmd+A, Ctrl/Cmd+Shift+L, and then run the macro
+2
Answer
Completed
Use multiple selections to do this: e.g., Ctrl/Cmd+A, Ctrl/Cmd+Shift+L, and then run the macro
yes it does! :) thanks!
+4

I tried Jon Skinner's solution and it froze Sublime for several minutes with a simple macro on a 10,000 line file