At 01:08 +0200 12/08/2011, Roland Küffner wrote:
Speaking of rectangular selections ...
Why? How much time and bother does it take simply to make such a selection?
This works quite well whilst the numbers do not cross a decimal
border (9 -> 10, 99 -> 100, etc. - the character count is no longer
valid...
All the more reason to start out from better place.
Maybe this is even easier with Perl, Python & co. but I have no idea
how rectangular selections are behaving when you throw them at one
of these from BBEdit ...
There are plenty of ways to achieve the result you want without using
rectangular selections. For example, start with a dialog asking what
common name you want for your variables, then a dialog asking how
many of the beasts you want and then have the script write what you
want at the insertion point.
With Perl you might simply select "variable 1 26" and run a script to
produce lines containing "variable_01" down to "variable_26" or
whatever you want. In any case rectangular selections don't come
into the picture.
JD
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>