Delete all but the current selection
- From graphics programs I have become accustomed to being able to select a
block and either delete it or delete everything around it and leave only
the block itself.
I have found a solution (untried as of now), but I wonder, if someone here
can think of a more elegant one:
It's an old habit from the time of much smaller machines, but I try to
avoid placing (potentially) huge chunks of text into variables.
- "flo.gehrke@... [ntb-clips]" wrote:
> ^!Replace "^$GetText$" >> "^$GetSelection$" WSNice, but is it better? First you save the complete text in a
pseudovariable, then you do a humungeous Find with a giant find term. In
all I think my solution uses many more lines but far less resources.