Re: Typing a : puts [] around stuff
Re: Typing a : puts [] around stuff
- Subject: Re: Typing a : puts [] around stuff
- From: Tom Davie <email@hidden>
- Date: Mon, 01 Oct 2012 17:26:01 +0100
Presumably because it thinks you're trying to write an obj-c message send.
God knows in a file that isn't a .m or .mm file though
Tom Davie
On 1 Oct 2012, at 17:11, Steve Mills <email@hidden> wrote:
> I have this old code:
>
> WindowRef frontWind = FrontNonFloatingWindow();
>
> I set the insertion point to right before the leading 'F' in FrontNonFloatingWindow, then I type ':'. This causes square brackets be added:
>
> [WindowRef frontWind = :]FrontNonFloatingWindow();
>
> Why would it even do that?
>
> --
> Steve Mills
> office: 952-818-3871
> home: 952-401-6255
> cell: 612-803-6157
>
>
>
> _______________________________________________
> 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
_______________________________________________
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