I have been having a go at creating a macro that will select the next/previous block of consecutive non-blank lines (working in a similar way for UNIX/DOS files).
This is what I have so far:
Select down
Select up
The select down macro seems to work as I want, selecting to the last piece of text just before the first instance of LINE-ENDING+LINE-ENDING; the select up isn't working as expected, selecting past LINE-ENDING+LINE-ENDING and to the next line.
I realize this is is a regular expression issue, not necessarily a macro issue, but wanted to see if anyone had another way to achieve this with a macro?
Rob
This is what I have so far:
Select down
Code: Select all
InsertMode
ColumnModeOff
HexOff
PerlReOn
StartSelect
Find RegExp Select "(\r\n|\n)*..*(?=(\r\n\r\n|\n\n))"
Code: Select all
InsertMode
ColumnModeOff
HexOff
PerlReOn
StartSelect
Find RegExp Up Select "(\r\n|\n)*..*(?=(\r\n\r\n|\n\n))"
I realize this is is a regular expression issue, not necessarily a macro issue, but wanted to see if anyone had another way to achieve this with a macro?
Rob