x


Unitron and multipart identifiers

Does anyone know how to make Unitron for the Mac respect period-delimited identifiers? It seems that by default, double clicking on the "foo" in foo.bar.baz will select "foo.bar.baz" instead of just foo. Likewise, when doing option+right arrow to move around code, it treats foo.bar.baz as a single word, instead of jumping to bar and then baz.

I suspect this might be a generic Mac setting, not something specific to Unitron, but I haven't been able to figure out how to change it.

more ▼

asked Jan 11 '10 at 11:30 PM

Ehren gravatar image

Ehren
4.2k 35 43 77

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Problem solved! I had to go to System Preferences->Language & Text->Text and change the "Word Break" drop-down from Standard to "English (United States, Computer)".

Thanks to Jonas for his help.

more ▼

answered Jan 12 '10 at 04:40 PM

Ehren gravatar image

Ehren
4.2k 35 43 77

Excellent. Never knew about that before. Thanks!

Jan 12 '10 at 06:31 PM Jessy
(comments are locked)
10|3000 characters needed characters left

That sounds strange. I don't know how to change it, but on my machine, "foo.bar.baz" is treated as three words, both for double-clicking, and for option+arrow combos. It works the same way in other places in the system, like on the web page.

If it's the wrong way for you all over the system, then it's probably not a Unitron setting, but a system wide setting. Maybe it's related to the international settings (Number formats, etc)?

more ▼

answered Jan 12 '10 at 07:44 AM

jonas echterhoff gravatar image

jonas echterhoff ♦♦
9.8k 7 23 104

Thanks, Jonas. With the help of your suggestions I was able to figure it out.

Jan 12 '10 at 04:35 PM Ehren
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1677
x338
x12

asked: Jan 11 '10 at 11:30 PM

Seen: 1125 times

Last Updated: Jan 11 '10 at 11:48 PM