Changeset [2b52f7d8daefbe54f2e4917858f6bd824bda179c] by cacaodev
Revision 2b52f7d8daefbe54f2e4917858f6bd824bda179c,
committed by cacaodev
· May 22nd, 2011 @ 10:59 PM
- Fixed a bug where the right control was incorrectly recreated with a default value when switching operators.
- As per cocoa, the predicate is recomputed when you send the right control action, not when you change text. Update-as-you-type can be turned ON by subclassing -_sendsActionOnIncompleteTextChange method. Default is NO.
- Rewrote _reconfigureSubviews method, should be faster. https://github.com/280north/cappuccino/commit/2b52f7d8daefbe54f2e49...
8 changed files
-
M
AppKit/CPRuleEditor/CPPredicateEditor.j -
M
AppKit/CPRuleEditor/CPPredicateEditorRowTemplate.j -
M
AppKit/CPRuleEditor/CPRuleEditor.j -
M
AppKit/CPRuleEditor/_CPPredicateEditorRowNode.j -
M
AppKit/CPRuleEditor/_CPRuleEditorViewSliceRow.j -
M
Tests/Manual/CPPredicateEditorCibTest/AppController.j -
M
Tests/Manual/CPPredicateEditorCibTest/Resources/MainMenu.cib -
M
Tests/Manual/CPPredicateEditorCibTest/Resources/MainMenu.xib