* Source/GSXibLoader.m (-awake:inContainer:withContext:): Allow

for subclasses of NSApplication as rootObjects.
        Based on patch by Marcian Lytwyn <gna@advcsi.com>.
        * Source/NSWindow.m (-userSpaceScaleFactor): Handle case where
        _screen is nil.
        Patch by Doug Simons (dsimons@testplant.com).
        * Source/NSWindow.m (-_screenForFrame:): Require real overlapp.
        Patch by Doug Simons (dsimons@testplant.com).
        * Source/NSTextField.m (-textDidChange:): Improve editing
        behavior when formatter returns a new string.
        Patch by Doug Simons (dsimons@testplant.com).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37830 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2014-05-03 21:45:47 +00:00
parent dcb4ac58f2
commit 59b1180d27
4 changed files with 52 additions and 19 deletions

View file

@ -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
{