Bug in NSFormatter (again)?
Bug in NSFormatter (again)?
- Subject: Bug in NSFormatter (again)?
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 05 Aug 2001 07:54:04 -0400
I haven't gotten much in the way of a reply to my NSFormatter inquiries, so
let me make it really simple.
Sometimes, when I attach a custom formatter to a text field and use the new,
longer NSFormatter isPartialStringValid:... Method, the blinking insertion
point disappears or turns weird after I use the Delete key to delete the
last character from the field. Yet no amount of debugging has revealed
anything wrong with the values for the string in the field or the field's
insertion point, both of which are returned by indirection in parameters to
the method. The error occurs even when the custom formatter does NOTHING to
these parameters, but simply returns YES to indicate acceptance of the value
typed by the user.
I therefore suspect a bug in this new method of NSFormatter. Can anybody
confirm or disprove this?
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
The AppleScript Sourcebook - www.AppleScriptSourcebook.com
Vermont Recipes - www.stepwise.com/Articles/VermontRecipes