Re: RegEx for switching Artist - Title to Title - Artist

2017-09-02 Thread Vlad Ghitulescu

On 2 Sep 2017, at 18:14, Jim Danner wrote:


According to this page
,
A Better Finder uses $1 etc. as references to captured parts of the 
Regular

Expression match. Thus, you could put this in the Pattern field:
^(.+) - (.+)
and this in the With field:
$2 - $1
The article in the link has examples that look a lot like your 
situation.

Please test with some unimportant folders first.


Jim, it looks amazingly similar to my situation :-)

Thanks for the article (it didn't even occur to me to google about A 
Better Finder Rename… somehow RegEx are connected with BBEdit-Talk in 
my brain! :-)



As to a Terminal window, you wouldn't ask the terminal itself to deal 
with

regular expressions;


After sending my last question about this I discovered that Roland 
actually indicated to do this not in a Terminal but in a BBEdit-Unix 
Worksheet :-/… so I suppose the search-replace take place in the 
normal find-window of BBEdit, right?




it is always some Unix command that has to interpret
them. On a text file, you'd use *sed*, e.g.
sed -E 's/^(.*) - (.*)$/\2 - \1/' foldernames.txt
The *mv* command for changing the names of files and folders doesn't 
accept
regular expressions, so it would work differently - but your solution 
with

A Better Finder is definitely easier.


:-D
It was the only solutions I could thing about (and this only with your - 
that's  the whole BBEdit-Talk family! - help for the RegEx-part)… you 
know the saying: "*When all you have it's a hammer, everything looks 
like a nail*" ;-)



On Saturday, September 2, 2017 at 5:39:15 PM UTC+2, Vlad Ghitulescu 
wrote:


How do you type the RegEx from point 5 below in a Terminal-window?



On 31 Aug 2017, at 19:47, Roland Küffner wrote:

to bring this back to BBEdit, here is another „BBEdit only“ 
solution:


1. Create a new Unix Worksheet
2. type cd and drag your music folder after it, giving you something 
like

cd '~/path/to folder' (add the quotation marks manually if you have
spaces in the file path
3. hint  (the  again.
5 Search-replace
^(.+) - (.+)
and replacing it with
mv '&' '\2 - \1'
6. Mark the lines with your folders and  again

That’s it. But, please test this on example data before breaking 
something

(backups are your friend)

Enjoy, Roland

On Thu, Aug 31, 2017 at 4:27 PM, Vlad Ghitulescu  wrote:


Thanks, Rich - I didn't even think about this alternative.

But: I needed a RegEx to put it in A Better Finder Rename (or an
AppleScript for renaming the files). That would not be possible with 
the

TSV-solution.


Regards,
Vlad






On 30 Aug 2017, at 22:24, Rich Siegel wrote:

On Wednesday, August 30, 2017, Vlad Ghitulescu wrote:


I have a couple of folder named like this (Artist - Title):




I'd begin by changing the document to TSV (search for " - " and 
replace
with "\t"), and then use "Columns => Rearrange Columns" (on the 
Edit menu

in the BBEdit 12 pre-release builds) and see how that works.

R.
--
Rich Siegel Bare Bones Software, 
Inc.



Someday I'll look back on all this and laugh... until they sedate 
me.


--
This is the BBEdit Talk public discussion group. If you have a 
feature

request or would like to report a problem, please email
"sup...@barebones.com " rather than posting to the 
group.

Follow @bbedit on Twitter: 
--- 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+un...@googlegroups.com .
To post to this group, send email to bbe...@googlegroups.com
.
Visit this group at https://groups.google.com/group/bbedit.



--
This is the BBEdit Talk public discussion group. If you have a 
feature

request or would like to report a problem, please email
"sup...@barebones.com " rather than posting to the 
group.

Follow @bbedit on Twitter: 
--- 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+un...@googlegroups.com .
To post to this group, send email to bbe...@googlegroups.com
.
Visit this group at https://groups.google.com/group/bbedit.



--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"sup...@barebones.com " rather than posting to the 
group.

Follow @bbedit on Twitter: 
---
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+un...@googlegroups.com .
To post to this group, send email to bbe...@googlegroups.com 


.
Visit this group at https://groups.google.com/group/bbedit.





--
This is the BBEdit Talk public 

Re: Auto-select search selected when text is selected

2017-09-02 Thread Bruce Van Allen

On 9/2/17 at 11:17 AM, vr...@sbcglobal.net wrote:

So, I would like a way (an option, whatever) for the editor to 
do the *general* case automatically, without me having to 
remember to check/uncheck a box. The exceptions are what the 
box, and shortcut key, are for. But they're the exceptions, not 
the rule.


I see your point. Maybe you could file a request to BBEdit 
support for an "Expert Preference" setting, along the lines of:

[made-up]
"useMultiLineSelectionAsSearchArea boolean TRUE/FALSE"
[/made-up].

Thx
--

  - Bruce

_bruce__van_allen__santa_cruz__ca_

--
This is the BBEdit Talk public discussion group. 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: 
--- 
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.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Auto-select search selected when text is selected

2017-09-02 Thread vr...@sbcglobal.net
Thanks, I'm aware of the shortcut key; as others noted, that's not what I 
was asking about.

I'm looking for the ability for BBEdit to assume that if I have text 
highlighted*, that's what I want to search. I didn't say anything about 
default behavior (although, the text editors I have at hand, both on Mac 
and Windows, all do this as a default); an option to enable that behavior 
would be fine.

*As Neil noted, when more than one line is selected. If less than one line 
is selected, then what is selected should default to what is being 
searched. That's the behavior most people use for most searches — when 
bucky (and others, including me) are searching for a phrase, it's 
*generally* less than a line. When multiple lines are selected, we're 
*generally* wanting to search within that selection.

So, I would like a way (an option, whatever) for the editor to do the 
*general* case automatically, without me having to remember to 
check/uncheck a box. The exceptions are what the box, and shortcut key, are 
for. But they're the exceptions, not the rule.

The lack of this ability is the biggest hindrance I have in using BBEdit. I 
search in selected text a lot, and, since the other editors I use[d] all do 
this, I'm not used to having to remember to select and unselect that 
checkbox.

-- 
This is the BBEdit Talk public discussion group. 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: 
--- 
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.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Auto-select search selected when text is selected

2017-09-02 Thread Bruce Van Allen

On 9/2/17 at 8:40 AM, buckyjunior...@gmail.com (Bucky Junior) wrote:


Contrariwise, if you do have a selection, the odds are pretty good
that you want to search in the selection — so why should you have to
toggle a check box?


Search IN the selection? My most common use case is that some 
selected text would be what I'm searching FOR, not IN. And I 
just use Find Selected Text (Command-H in my BBEdit menus), 
which puts the selected phrase into the search box AND jumps to 
the next instance of the selected text.


I definitely don't want any default behavior assuming WHERE to 
search based on the selection.


Thanks,
--

  - Bruce

_bruce__van_allen__santa_cruz__ca_

--
This is the BBEdit Talk public discussion group. 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: 
--- 
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.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: RegEx for switching Artist - Title to Title - Artist

2017-09-02 Thread Jim Danner
According to this page 
,
 
A Better Finder uses $1 etc. as references to captured parts of the Regular 
Expression match. Thus, you could put this in the Pattern field:
^(.+) - (.+)
and this in the With field:
$2 - $1
The article in the link has examples that look a lot like your situation. 
Please test with some unimportant folders first.

As to a Terminal window, you wouldn't ask the terminal itself to deal with 
regular expressions; it is always some Unix command that has to interpret 
them. On a text file, you'd use *sed*, e.g.
sed -E 's/^(.*) - (.*)$/\2 - \1/' foldernames.txt
The *mv* command for changing the names of files and folders doesn't accept 
regular expressions, so it would work differently - but your solution with 
A Better Finder is definitely easier.


On Saturday, September 2, 2017 at 5:39:15 PM UTC+2, Vlad Ghitulescu wrote:
>
> How do you type the RegEx from point 5 below in a Terminal-window?
>
>
>
> On 31 Aug 2017, at 19:47, Roland Küffner wrote:
>
> to bring this back to BBEdit, here is another „BBEdit only“ solution:
>
> 1. Create a new Unix Worksheet
> 2. type cd and drag your music folder after it, giving you something like
> cd '~/path/to folder' (add the quotation marks manually if you have 
> spaces in the file path
> 3. hint  (the  4. Now type „ls“ and  again.
> 5 Search-replace
> ^(.+) - (.+)
> and replacing it with
> mv '&' '\2 - \1'
> 6. Mark the lines with your folders and  again
>
> That’s it. But, please test this on example data before breaking something 
> (backups are your friend)
>
> Enjoy, Roland
>
> On Thu, Aug 31, 2017 at 4:27 PM, Vlad Ghitulescu  wrote:
>
>> Thanks, Rich - I didn't even think about this alternative.
>>
>> But: I needed a RegEx to put it in A Better Finder Rename (or an 
>> AppleScript for renaming the files). That would not be possible with the 
>> TSV-solution.
>>
>>
>> Regards,
>> Vlad
>>
>>
>>
>>
>>
>>
>> On 30 Aug 2017, at 22:24, Rich Siegel wrote:
>>
>> On Wednesday, August 30, 2017, Vlad Ghitulescu wrote:
>>>
>>> I have a couple of folder named like this (Artist - Title):

>>>
>>> I'd begin by changing the document to TSV (search for " - " and replace 
>>> with "\t"), and then use "Columns => Rearrange Columns" (on the Edit menu 
>>> in the BBEdit 12 pre-release builds) and see how that works.
>>>
>>> R.
>>> -- 
>>> Rich Siegel Bare Bones Software, Inc.
>>>
>>>
>>> Someday I'll look back on all this and laugh... until they sedate me.
>>>
>>> -- 
>>> This is the BBEdit Talk public discussion group. If you have a feature 
>>> request or would like to report a problem, please email
>>> "sup...@barebones.com " rather than posting to the group.
>>> Follow @bbedit on Twitter: 
>>> --- 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+un...@googlegroups.com .
>>> To post to this group, send email to bbe...@googlegroups.com 
>>> .
>>> Visit this group at https://groups.google.com/group/bbedit.
>>>
>>
>> -- 
>> This is the BBEdit Talk public discussion group. If you have a feature 
>> request or would like to report a problem, please email
>> "sup...@barebones.com " rather than posting to the group.
>> Follow @bbedit on Twitter: 
>> --- 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+un...@googlegroups.com .
>> To post to this group, send email to bbe...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/bbedit.
>>
>
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "sup...@barebones.com " rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- 
> 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+un...@googlegroups.com .
> To post to this group, send email to bbe...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/bbedit.
>
>
>

-- 
This is the BBEdit Talk public discussion group. 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: 
--- 
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.
To post to this group, send email to 

Re: Auto-select search selected when text is selected

2017-09-02 Thread F. Alfredo Rego
Wrong presumption, Bucky ;-)

I have ALWAYS felt the slight twinge of frustration that vrice mentioned, and I 
have always settled for using the shortcut (Ctrl-Shift-S) that Fletcher 
mentioned.

However, it was only today, after reading their comments, that I realized that 
I would rather not have to settle for this and I would be an even happier 
camper if BBEdit could PLEASE add this functionality.

Obvious in retrospect. I’m willing to bet that many colleagues on this forum 
feel the same way.

Thanks to everyone for having opened my eyes (and probably a can of worms for 
poor Rich ;-)

Alfredo



> On Sep 2, 2017, at 9:40 AM, Bucky Junior  wrote:
> 
> On the other hand, if I wanted to see how many times I had over used a phrase 
> in something I was writing, I would highlight “from my personal experience 
> and in my opinion”, copy it, open the find dialog box, paste in my selected 
> text, I would have to uncheck the find in selected text box to look for 
> occurrences.
> 
> From my personal experience and in my opinion, I don’t think it can be 
> presumed that others are going to do searches like I will.
> 
> Bucky
> 
>> On Sep 2, 2017, at 8:40 AM, Neil Faiman > > wrote:
>> 
>> 
>>> On Sep 2, 2017, at 10:27 AM, Fletcher Sandbeck >> > wrote:
>>> 
>>> You can toggle that setting using a key shortcut, Ctrl-Shift-s. You can see 
>>> all the shortcuts for the Find Windows shortcuts in the Menus & Shortcuts 
>>> preferences. Or, switch them to something easier.
>> 
>> Yes, but what he was requesting was a little extra cleverness built in.
>> 
>> Think about it … if you open the Find dialog and you don’t have a current 
>> selection, the odds are near zero that you want to do a “find in selection” 
>> — so why should you have to toggle a checkbox?
>> 
>> Contrariwise, if you do have a selection, the odds are pretty good that you 
>> want to search in the selection — so why should you have to toggle a check 
>> box?
>> 
>> Years ago, I used a text editor on Windows that actually improved on this 
>> heuristic: it assumed that you wanted to “find in selection” if you had a 
>> current selection that was more than one line long. My experience was that 
>> this was what I wanted probably 99% of the time.
>> 
>> Regards,
>> 
>>  Neil Faiman
>> 
>> 
>> -- 
>> This is the BBEdit Talk public discussion group. 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: > >
>> --- 
>> 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 
>> .
>> To post to this group, send email to bbedit@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/bbedit 
>> .
> 
> 
> -- 
> This is the BBEdit Talk public discussion group. 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:  >
> --- 
> 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 
> .
> To post to this group, send email to bbedit@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/bbedit 
> .

-- 
This is the BBEdit Talk public discussion group. 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: 
--- 
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.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Auto-select search selected when text is selected

2017-09-02 Thread Bucky Junior
On the other hand, if I wanted to see how many times I had over used a phrase 
in something I was writing, I would highlight “from my personal experience and 
in my opinion”, copy it, open the find dialog box, paste in my selected text, I 
would have to uncheck the find in selected text box to look for occurrences.

>From my personal experience and in my opinion, I don’t think it can be 
>presumed that others are going to do searches like I will.

Bucky

> On Sep 2, 2017, at 8:40 AM, Neil Faiman  wrote:
> 
> 
>> On Sep 2, 2017, at 10:27 AM, Fletcher Sandbeck > > wrote:
>> 
>> You can toggle that setting using a key shortcut, Ctrl-Shift-s. You can see 
>> all the shortcuts for the Find Windows shortcuts in the Menus & Shortcuts 
>> preferences. Or, switch them to something easier.
> 
> Yes, but what he was requesting was a little extra cleverness built in.
> 
> Think about it … if you open the Find dialog and you don’t have a current 
> selection, the odds are near zero that you want to do a “find in selection” — 
> so why should you have to toggle a checkbox?
> 
> Contrariwise, if you do have a selection, the odds are pretty good that you 
> want to search in the selection — so why should you have to toggle a check 
> box?
> 
> Years ago, I used a text editor on Windows that actually improved on this 
> heuristic: it assumed that you wanted to “find in selection” if you had a 
> current selection that was more than one line long. My experience was that 
> this was what I wanted probably 99% of the time.
> 
> Regards,
> 
>   Neil Faiman
> 
> 
> -- 
> This is the BBEdit Talk public discussion group. 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:  >
> --- 
> 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 
> .
> To post to this group, send email to bbedit@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/bbedit 
> .

-- 
This is the BBEdit Talk public discussion group. 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: 
--- 
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.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: RegEx for switching Artist - Title to Title - Artist

2017-09-02 Thread Vlad Ghitulescu

How do you type the RegEx from point 5 below in a Terminal-window?




On 31 Aug 2017, at 19:47, Roland Küffner wrote:

to bring this back to BBEdit, here is another „BBEdit only“ 
solution:


1. Create a new Unix Worksheet
2. type cd and drag your music folder after it, giving you something 
like
cd '~/path/to folder' (add the quotation marks manually if you have 
spaces

in the file path
3. hint  (the  again.
5 Search-replace
^(.+) - (.+)
and replacing it with
mv '&' '\2 - \1'
6. Mark the lines with your folders and  again

That’s it. But, please test this on example data before breaking 
something

(backups are your friend)

Enjoy, Roland

On Thu, Aug 31, 2017 at 4:27 PM, Vlad Ghitulescu  
wrote:



Thanks, Rich - I didn't even think about this alternative.

But: I needed a RegEx to put it in A Better Finder Rename (or an
AppleScript for renaming the files). That would not be possible with 
the

TSV-solution.


Regards,
Vlad






On 30 Aug 2017, at 22:24, Rich Siegel wrote:

On Wednesday, August 30, 2017, Vlad Ghitulescu  
wrote:


I have a couple of folder named like this (Artist - Title):




I'd begin by changing the document to TSV (search for " - " and 
replace
with "\t"), and then use "Columns => Rearrange Columns" (on the Edit 
menu

in the BBEdit 12 pre-release builds) and see how that works.

R.
--
Rich Siegel Bare Bones Software, 
Inc.
  



Someday I'll look back on all this and laugh... until they sedate 
me.


--
This is the BBEdit Talk public discussion group. 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: 
--- 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.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.



--
This is the BBEdit Talk public discussion group. 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: 
--- 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.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.



--
This is the BBEdit Talk public discussion group. 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: 
---
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.

To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.




--
This is the BBEdit Talk public discussion group. 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: 
--- 
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.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Auto-select search selected when text is selected

2017-09-02 Thread Neil Faiman

> On Sep 2, 2017, at 10:27 AM, Fletcher Sandbeck  wrote:
> 
> You can toggle that setting using a key shortcut, Ctrl-Shift-s. You can see 
> all the shortcuts for the Find Windows shortcuts in the Menus & Shortcuts 
> preferences. Or, switch them to something easier.

Yes, but what he was requesting was a little extra cleverness built in.

Think about it … if you open the Find dialog and you don’t have a current 
selection, the odds are near zero that you want to do a “find in selection” — 
so why should you have to toggle a checkbox?

Contrariwise, if you do have a selection, the odds are pretty good that you 
want to search in the selection — so why should you have to toggle a check box?

Years ago, I used a text editor on Windows that actually improved on this 
heuristic: it assumed that you wanted to “find in selection” if you had a 
current selection that was more than one line long. My experience was that this 
was what I wanted probably 99% of the time.

Regards,

Neil Faiman

-- 
This is the BBEdit Talk public discussion group. 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: 
--- 
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.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Auto-select search selected when text is selected

2017-09-02 Thread Fletcher Sandbeck
You can toggle that setting using a key shortcut, Ctrl-Shift-s. You can see all 
the shortcuts for the Find Windows shortcuts in the Menus & Shortcuts 
preferences. Or, switch them to something easier.

[fletcher]

> On Sep 1, 2017, at 7:41 PM, vr...@sbcglobal.net wrote:
> 
> Is there a way to make that happen, i.e. that when text is highlighted, the 
> search window automatically has the "Selected text only" checked, and when 
> there is no text selected, it doesn't? I've looked through Preferences and 
> nothing sticks out, and I searched the menus and manual and didn't find 
> anything there, either. That would lead me to suspect there isn't a way to do 
> it, but I thought I'd check to make sure.
> 
> I don't want to do something different in each case, I just want Cmd-F to 
> open with the box checked if there is text selected in the document, and 
> unchecked if there isn't.
> 
> I'm used to text editors doing that on their own; it's a pain to have to 
> remember to check it and then remember to uncheck it the next time I search 
> with no text selected.
> 
> Thanks!
> 
> -- 
> This is the BBEdit Talk public discussion group. 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:  >
> --- 
> 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 
> .
> To post to this group, send email to bbedit@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/bbedit 
> .

-- 
This is the BBEdit Talk public discussion group. 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: 
--- 
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.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Auto-select search selected when text is selected

2017-09-02 Thread vr...@sbcglobal.net
Is there a way to make that happen, i.e. that when text is highlighted, the 
search window automatically has the "Selected text only" checked, and when 
there is no text selected, it doesn't? I've looked through Preferences and 
nothing sticks out, and I searched the menus and manual and didn't find 
anything there, either. That would lead me to suspect there isn't a way to 
do it, but I thought I'd check to make sure.

I don't want to do something different in each case, I just want Cmd-F to 
open with the box checked if there is text selected in the document, and 
unchecked if there isn't.

I'm used to text editors doing that on their own; it's a pain to have to 
remember to check it and then remember to uncheck it the next time I search 
with no text selected.

Thanks!

-- 
This is the BBEdit Talk public discussion group. 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: 
--- 
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.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.