When in Soft Wrap mode is there any difference between Select Line and Select Paragraph?
I'm interested in selecting an indented paragraph of text (in Soft Wrap mode) without selecting the leading whitespace and the newline at the end. Is this possible?
Hey Oliver,
Done. :)
The non-greedy operator is not strictly necessary, but it picks the speed up just a trifle.
-ccs
tell application "BBEdit"
try
tell text of front text window
set lineOfInsertionPoint to line (startLine of selection)
set findReco to find "\\S+.+?$" searching in lineOfInsertionPoint ¬
options {search mode:grep} with selecting match