mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
improve editing behavior when formatter returns a new string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37807 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0b3df11864
commit
da72380580
1 changed files with 2 additions and 3 deletions
|
@ -573,9 +573,8 @@ static Class textFieldCellClass;
|
|||
|
||||
if (newString != nil)
|
||||
{
|
||||
NSLog (@"Unimplemented: should set string to %@", newString);
|
||||
// FIXME ! This would reset editing !
|
||||
//[_text_object setString: newString];
|
||||
// This resets editing with insertion point after the string, which is what Cocoa does
|
||||
[_text_object setString: newString];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue