Hallo Kovid.
The scenario is: a huge html file to manage, 30000 lines long; I have to run a regex on a certain quote of the file, say from line 33 to line 12612. I have to click on line 33, then shift the cursor through the file up to line 12612, and only then release the mouse button,
Alt-Shift-M to mark the region, run the regex.
But selecting such a big chunk of text lines is very difficult and prone to errors.
A useful feature to solve the problem would are two html editor commands:
Code:
right-click -> select -> begin
to mark the point from where start the selection;
Code:
right-click -> select -> end
to mark the point to where end the selection.
In the case above I should go to line 33,
right-click -> select -> begin, then slowly and comfortably go up to line 12612,
right-click -> select -> end,
Alt-Shift-M, and finally run the regex.
A much more useful version of the same feature (but a bit more complex) would be the ability to select the start and the end of the region via a regex, a command like: "select from the line that match the regex "A" up to the line that match the regex "B"".
ss