- January 3, 2014 at 12:30 am #17785
Jump / go to / move to next empty line between paragraphs (or TOF/EOF)
Save this two macros (the CODE below) as text file with jsee extension in the EmEditor folder.
Then execute them one time from menu Macros > Select…
Next you can assign an shortcut to them via Help > Keyboard Map… ( search for “jump”, right click the macro, choose “Properties”, assign an Shortcut Key)
document.selection.Find("(^$|^\\s*?$)",eeFindPrevious | eeFindReplaceRegExp);
document.selection.Find("(^$|^\\s*?$)",eeFindNext | eeFindReplaceRegExp);
That macro will regex search and goto lines which are empty or contain whitespace chars only (non-greedy), whatever cones first.
If you enable “Selection Mode” (read help about “F8” key) afore to executing this macro,
you can use this to select paragraph-wise. (press ESC key to cancel selection mode after you’re done)
You must be logged in to reply to this topic.