discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Word selection and cursor placement


From: Matt Rice
Subject: Re: Word selection and cursor placement
Date: Sat, 11 Nov 2006 06:37:54 -0800 (PST)


--- Andreas Höschler <ahoesch@smartsoft.de> wrote:

> Hello all,
> 
> while trying to use GNUstep (NSTextView) for real
> coding - we are 
> migrating from Macs to Solaris/GNUstep machines - I
> encountered the 
> following problems:
> 
> • Double clicking on a word line _Timber_Stock
> should select the whole 
> word not only Timber or Stock. At least that's how
> it's done on the Mac 
> and how it makes sense IMHO. On the other hand
> doubleclicking on 
> <mytag>  should only select mytag and not <mytag>.
> Any idea where this 
> can be corrected?

i believe -selectionRangeForProposedRange:granularity:

> 
> • Selecting 'valueForKey' in
> 
>       [self valueForKey:@"hostname"];
> 
> and the pressing cursor left puts the cursor
> directly to the right of 
> self which is wrong. The cursor should be placed
> between the space and 
> valueForKey. The behaviour is even worse when
> leaving a selction to the 
> right side. When self was selected this places the
> cursor between 's' 
> and 'elf' which is totally wrong.

NSTextView_actions.m: -moveLeft:

> 
> Hints where in the GNustep tree this can be
> corrected are greatly 
> appreciated! Thanks!
> 
> Regards,
> 
>    Andreas
> 



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]