On 2011-08-11, Christopher Stone wrote:
On Aug 11, 2011, at 13:01, Derrick Peavy wrote:
In prior versions (8 and below I think), when I performed a find (CMD F), the find usually started at the top of the file. Not anymore. I can open a fresh file and if the thing I want to find is at the top and the file opens with the cursor at the bottom, I get the prompt (sound) that nothing has been found. I think have to "Find All" to find just the one thing I need. Annoying.
______________________________________________________________________

Hey Derrick,

Bruce has covered that pretty comprehensively, but I'd make one small change to his script:

tell application "BBEdit"
tell front text window
select insertion point before character 1
end tell
end tell

Yes, that's better. I couldn't remember what to do with "insertion point" -- just "select" where you want it.

Thanks, Chris, for posting so many useful scripts! And to John Delacour, too, for his demos of using Perl for text processing. I hope newcomers to BBEdit are seeing how capable BBEdit is for leveraging various languages and constructs (like regular expressions) from the wide world of programming. Also hoping that they see how helpful this community can be for those who want to learn.


   - Bruce

_bruce__van_allen__santa_cruz_ca_

--
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>

Reply via email to