Re: Word selection boundaries
Re: Word selection boundaries
- Subject: Re: Word selection boundaries
- From: Ken Thomases <email@hidden>
- Date: Fri, 19 Oct 2012 14:01:28 -0500
On Oct 19, 2012, at 4:17 AM, Rick Mann wrote:
> Is there any way to get Xcode to include a period in a word selection boundary within quotes, unless the "word" is numeric? For example, I want to double-click on a part of a key path:
>
> [foo valueForKeyPath: @"foo.bar.baz"];
>
> and have it only select that part, rather than the whole path, which is what it currently does.
>
> But if it's a number:
>
> foo.text = @"123.456";
>
> It should go ahead and select the whole thing.
There's a system setting which affects this in general. Not certain it affects Xcode, since Xcode may customize text processing. (Not in a position to test at the moment.)
In System Preferences > Language & Text > Text there's a pop-up menu for Word Break. Change it from Standard to English (United States, Computer).
In my testing, I had to restart apps to have that take effect in them.
> Unless it's an IP address ;-)
Can't help you there. ;)
Cheers,
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden