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 07:23:53 -0800 (PST)


--- Matt Rice <ratmice@yahoo.com> wrote:

> 
> 
> --- 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:

oh i think you were looking for -moveRight: but said
left

i figured i'd chime in that '-moveDown:' seems to have
a similar problem when selecting multiple lines down
arrow should select the line below the last selected
line, this currently goes to the line after the first
selected one.

(pageDown seems to work when selecting multiple pages
along with all the ups/left)

don't expect you to fix this one, but figured i'd
mention it since its a similar issue

> 
> > 
> > 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]