Hi, Nicola Pero.

 NP> > Create NSTextField. Enter into it some text. Press Return key. Entire
 NP> > contents of the text field should be selected(highlighted). But it doesn't.
 NP> > Moreover, if i try to select text by NSTextFiled's selectText:
 NP> > method (in controlTextDidEndEditing: delegate's method), text flashes 
 NP> > from selected(highlighted) to unselected and stays unselected.
 NP> 
 NP> Ok - thanks - I didn't know about this possibility - but it seems you are
 NP> right - the NeXTSTEP 3.3 user interface guidelines and documentation
 NP> clearly states -
 
  [User Interface Guide thoughts skipped]

 NP> I think calling selectText: in controlTextDidEndEditing: should do it ...
 NP> but I can see why it didn't - I think the bug was in NSTextField.m, which
 NP> was posting the 'NSControlTextDidEndEditing' notification too early -
 NP> before actually ending editing!
 NP> 
 NP> I fixed this on CVS - if you try again from CVS, hopefully now using
 NP> selectText: inside controlTextDidEndEditing: should now work :-) [I didn't
 NP> try it, so please let me know if you still have problems]

  I've just tried it again. Now text selection even not flashes ;) I'll create 
  a little test so you can try it for yourself.

-- 
Serg Stoyan

_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to