Well, you could triple-click and select the whole line, but that's probably
not helpful to you.

The behavior you describe seems to be a Mac standard, because the Finder
behaves more or less the same way as BBEdit: for double-clicking purposes,
strings separate by periods are treated as separate words, but strings
separated by underscores are treated as one big word.

I find this frustrating in the Finder, because most of my filenames contain
underscores, and I often want to double-click-select just one component of
them (almost the opposite of what you're looking for), but I've been unable
to find any key combination or trick that would allow me to. At least in
the Finder I can hold down the Option key to get a crosshair allowing me to
select any part of a string; in BBEdit, holding down Option seems to be
used for a different purpose (quick Find on whatever you double-click), but
even then BBEdit seems to treat underscores as just regular characters, but
treats periods as word delimiters.

It would be great if there were some keyboard way to momentarily change
these "word delimiter" behaviors, both in BBEdit and in the Finder.

Lawrence San
Business Writing: Santhology.com
Cartoon Stories for Thoughtful People: Sanstudio.com


On Tue, Sep 16, 2014 at 2:37 PM, Nick Matzke <[email protected]>
wrote:

> Hi,
>
> I use BBedit for a lot of R programming.  When I'm programming, I always
> use underscores in my function and variable names, because I can
> double-click on them and get the whole thing.  E.g.:
>
> get_human_DNA
> sampled_DNA
>
> However, most other programmers write their variables like this:
>
> get.human.DNA
> sampled.DNA
>
> ...when I double-click on these, I only get a selection up to the period.
>  E.g., just "sampled" or just "DNA". Is there a way to change this
> behavior, and get the whole word, including the period?
>
> I know it's just another click or two to select the whole word manually,
> but I'm so used to doing it with a simple double-click, and now a
> collaborator has changed everything in our shared project to periods, so
> it's driving me nuts.
>
> Thanks so much if anyone can think of a solution!
>
> Cheers,
> Nick
>
>  --
> This is the BBEdit Talk public discussion group. 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>
>
> ---
> 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 [email protected].
> To post to this group, send email to [email protected].
>

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

--- 
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 [email protected].
To post to this group, send email to [email protected].

Reply via email to