multiple selection mode: how to automatically obtain selections without using the mouse
Submitted by Friday, 14 December, 2007 - 16:41
on
Problem:
Activating and deactivating 'multiple selection mode' is easy to do and works well. The problem is, I am looking for a way to obtain multiple selections automatically via macro, without having to hand-click the selections I want with the mouse.
The goal is to:
1) be able to multi-select every occurrence of a regex match in the entire document;
2) be able to multi-select every occurrence of a regex match within a specified line range (or within current selection);
3) do all of this without having to use the mouse
TIA for any info or pointers.
Activating and deactivating 'multiple selection mode' is easy to do and works well. The problem is, I am looking for a way to obtain multiple selections automatically via macro, without having to hand-click the selections I want with the mouse.
The goal is to:
1) be able to multi-select every occurrence of a regex match in the entire document;
2) be able to multi-select every occurrence of a regex match within a specified line range (or within current selection);
3) do all of this without having to use the mouse
TIA for any info or pointers.