Re: Radical changes to BB-EDIT 10's Search Dialogue box?
I'm not sure what you mean by a section, but here's a script that will select up to any characters. You can then search the selection. Steve (* Select up to any characters: Opens a find window for the characters Examples: To select up to a double line break, enter (unquoted) \r\r To select up to */, enter \*\/ *) tell application BBEdit set _searchto to the text returned of (display dialog Enter search string default answer ) set _sstring to (?s).+?(?= _searchto ) find _sstring searching in text 1 of front document options {search mode:grep, starting at top:false, wrap around:true, backwards:false, case sensitive:false, match words:false, extend selection:true} with selecting match end tell On Tuesday, April 16, 2013 2:56:39 AM UTC-4, David A. Lewis wrote: It seems to me that BB has REMOVED several functions from the Search Dialogue box that I (previously) found very very useful. One of them, the most irritating new ommission, is the checkbox, that would extend the selection, so that if I put the text-insertion point into a document at the beginning of a section, had extend selection checked-on, and then searched for a word at (for example) the end of that section, the ENTIRE BLOCK OF TEXT would be highlighted. So, where have they hidden this feature in the new improved version 10? PLEASE bring it back, (or advise on where it went! :O) On Tuesday, April 16, 2013 2:56:39 AM UTC-4, David A. Lewis wrote: It seems to me that BB has REMOVED several functions from the Search Dialogue box that I (previously) found very very useful. One of them, the most irritating new ommission, is the checkbox, that would extend the selection, so that if I put the text-insertion point into a document at the beginning of a section, had extend selection checked-on, and then searched for a word at (for example) the end of that section, the ENTIRE BLOCK OF TEXT would be highlighted. So, where have they hidden this feature in the new improved version 10? PLEASE bring it back, (or advise on where it went! :O) -- -- 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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com 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 supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit --- You received this message because you are subscribed to the Google Groups BBEdit Talk group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
I want to Go to Character [offset]
I'm still using BBEdit 9 because, well, it's always been able to do anything I wanted. But several times now I've wanted to navigate to a certain character number (offset) in a file. BBEdit has *Search* ▸ *Go to Line…*. I want to *Search * ▸ *Go to Character…*. and enter the offset in the file, in the same way I'd enter a line number. Does BBEdit 10 have this feature? If not, does anyone know an easy way to do this? Thanks! -- -- 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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com 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 supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit --- You received this message because you are subscribed to the Google Groups BBEdit Talk group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: I want to Go to Character [offset]
At 11:02 -0700 04/18/2013, Jerry Krinock wrote: [...] But several times now I've wanted to navigate to a certain character number (offset) in a file. BBEdit has Search - Go to LineŠ. I want to Search - Go to CharacterŠ. and enter the offset in the file, in the same way I'd enter a line number. Does BBEdit 10 have this feature? If not, does anyone know an easy way to do this? Though neither BBEdit 9 or 10 have such a command built-in, you can do this via AppleScript. As a quick example, use the AppleScript Editor to compile the following: === tell application BBEdit display dialog Character position: default answer 1 buttons ¬ {Cancel, Go to} default button 2 set cPosition to (text returned of result) as number select insertion point before character cPosition of text window 1 end tell then save the resulting script into the Scripts folder of BBEdit's app support folder and assign a key shortcut to it via the Scripts palette (or in BBEdit 10, the Menus Shortcuts preference panel). Regards, Patrick Woolsey == Bare Bones Software, Inc. http://www.barebones.com/ -- -- 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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com 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 supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit --- You received this message because you are subscribed to the Google Groups BBEdit Talk group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: I want to Go to Character [offset]
OK, I added this feature myself, thanks to BBEdit's over-the-top AppleScriptability. Create a script named Go to Characteri… in your BBEdit Scripts menu, and in it place this text… *display dialog* Go to character… default answer 0 *set* aOffset *to* text returned *of* result *as* *integer* *tell* *application* BBEdit *tell* *document* 1 *select* *character* aOffset *end* *tell* *activate* *end* *tell* -- -- 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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com 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 supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit --- You received this message because you are subscribed to the Google Groups BBEdit Talk group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Radical changes to BB-EDIT 10's Search Dialogue box?
Here's an even shorter script to do what you ask. For using the script, follow the direction in Patrick Woolsey's post here.https://groups.google.com/forum/?fromgroups=#!topic/bbedit/chOeNWJg-hM Steve tell application BBEdit set _searchto to the text returned of (display dialog Enter search string default answer ) find _searchto searching in text 1 of front document options {search mode:grep, starting at top:false, wrap around:true, backwards:false, case sensitive:false, match words:false, extend selection:true} with selecting match end tell On Tuesday, April 16, 2013 2:56:39 AM UTC-4, David A. Lewis wrote: It seems to me that BB has REMOVED several functions from the Search Dialogue box that I (previously) found very very useful. One of them, the most irritating new ommission, is the checkbox, that would extend the selection, so that if I put the text-insertion point into a document at the beginning of a section, had extend selection checked-on, and then searched for a word at (for example) the end of that section, the ENTIRE BLOCK OF TEXT would be highlighted. So, where have they hidden this feature in the new improved version 10? PLEASE bring it back, (or advise on where it went! :O) -- -- 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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com 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 supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit --- You received this message because you are subscribed to the Google Groups BBEdit Talk group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
end of (semi-, but not incredibly-, long) line(s) not visible
Mac 10.7.5 BBedit 10.5.3 (3280) I though this was an issue that we had previously (several public releases ago) experienced and which was fixed ... but I am seeing it again tonight: Editing an HTML doc and I hit command-right-arrow to bring me to the end of the line and my cursor is no where to be seen, because the end of the line is not visible. The horizontal scroll bar does not accurately reflect the width of the doc, as defined by the longest code line. I have to turn on soft warp in order to see the end of the line. You guys have any insight or thoughts to help me out here? ... or should I start a support ticket? Thanks -Govinda -- -- 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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com 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 supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit --- You received this message because you are subscribed to the Google Groups BBEdit Talk group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.