Re: Extend selection with search

2011-11-19 Thread Tom Robinson
Obviously in this case there's a few people who miss this particular 
functionality being removed.  But if you keep updating software and never 
remove redundant/out-dated features you end up with a hard-to-maintain piece of 
bloatware, as often seen in this industry.

Cheers

Sent from my iPad

On 19/11/2011, at 9:25, Fritz Anderson  wrote:

> On 18 Nov 2011, at 11:56 AM, Marek Stepanek wrote:
> 
>> I never understood, why taking away features is improving a software. Should 
>> be the other way round: add new features ...
> 
> My head + desk…
> 
> 
> 
> 
> 
> 
>— F
> 

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

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: 


Re: Extend selection with search

2011-11-18 Thread Fritz Anderson
On 18 Nov 2011, at 11:56 AM, Marek Stepanek wrote:

> I never understood, why taking away features is improving a software. Should 
> be the other way round: add new features ...

My head + desk…






— F

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

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: 


Re: Extend selection with search

2011-11-18 Thread Marek Stepanek

On 05.01.2011 2:41 PM, Christopher Stone wrote:



Hey Marek,

You are not the first to notice this change. If it makes you unhappy
then complain to support: supp...@barebones.com


Thank you Christopher! Unhappy? I even gave up, to work with BBEdit 
because of it. I am using BBEdit only sporadic since this time (was it 
two years ago?). I never understood, why taking away features is 
improving a software. Should be the other way round: add new features ...



.

In the meantime you can script it:

try
tell/application/"BBEdit"
tell/text/offront/text document/
setbbFindto*find*"\\r{2} "selecting matchtrue¬
options{backwards:false, case sensitive:false, extend selection:true,
match words:false, returning results:false, search mode:grep, showing
results:true, starting at top:false, wrap around:false}
endtell
endtell
onerrorerrMsgnumbererrNum
set{cr, sep} to{return, "--"}
set e to sep & cr & "Error: " & errMsg & cr & sep & cr & "Error Number:
" & errNum & cr & sep
*beep*
*display dialog*e
endtry

You don't need all the options (some of them are defaults). I've left
them all in, so you can see what they are.

--
Best Regards,
Chris



Thank you for this script! :-)


marek


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

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: 


Re: Extend selection with search

2011-11-18 Thread Christopher Stone
On Nov 18, 2011, at 05:01, Marek Stepanek wrote:
> Once upon a time there was a feature in the search window "extend selection" 
> with search backwards or the other direction.
> 
> I have a long file with email sources. The attached files encoded with base64 
> are difficult to strip out. I have to scroll a long while to get to the end 
> of these base64 blocks.
> 
> Is there any means to look for the next "\r\r", extending the selection?

__

Hey Marek,

You are not the first to notice this change.  If it makes you unhappy then 
complain to support: supp...@barebones.com.

In the meantime you can script it:

try
  tell application "BBEdit"
tell text of front text document
  set bbFind to find "\\r{2}" selecting match true Ź
options {backwards:false, case sensitive:false, extend selection:true, 
match words:false, returning results:false, search mode:grep, showing 
results:true, starting at top:false, wrap around:false}
end tell
  end tell
on error errMsg number errNum
  set {cr, sep} to {return, "--"}
  set e to sep & cr & "Error: " & errMsg & cr & sep & cr & "Error Number: " & 
errNum & cr & sep
  beep
  display dialog e
end try

You don't need all the options (some of them are defaults).  I've left them all 
in, so you can see what they are.

--
Best Regards,
Chris

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


Extend selection with search

2011-11-18 Thread Marek Stepanek



Hello all!


Once upon a time there was a feature in the search window "extend 
selection" with search backwards or the other direction.


I have a long file with email sources. The attached files encoded with 
base64 are difficult to strip out. I have to scroll a long while to get 
to the end of these base64 blocks.


Is there any means to look for the next "\r\r", extending the selection?


marek

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