diff --git a/Frameworks/AppKit/Browser.environment/AppKit.sj b/Frameworks/AppKit/Browser.environment/AppKit.sj index 6e98ece2e..445a519f7 100644 --- a/Frameworks/AppKit/Browser.environment/AppKit.sj +++ b/Frameworks/AppKit/Browser.environment/AppKit.sj @@ -70178,7 +70178,7 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_ ,["void"])]); } -p;12;CPTextView.jt;200313;@STATIC;1.0;i;8;CPText.ji;14;CPPasteboard.ji;14;CPColorPanel.ji;15;CPFontManager.ji;15;CPTextStorage.ji;17;CPTextContainer.ji;17;CPLayoutManager.ji;14;_CPRTFParser.ji;16;_CPRTFProducer.jt;200118;objj_executeFile("CPText.j", YES);objj_executeFile("CPPasteboard.j", YES);objj_executeFile("CPColorPanel.j", YES);objj_executeFile("CPFontManager.j", YES);objj_executeFile("CPTextStorage.j", YES);objj_executeFile("CPTextContainer.j", YES);objj_executeFile("CPLayoutManager.j", YES);objj_executeFile("_CPRTFParser.j", YES);objj_executeFile("_CPRTFProducer.j", YES);; +p;12;CPTextView.jt;200468;@STATIC;1.0;i;8;CPText.ji;14;CPPasteboard.ji;14;CPColorPanel.ji;15;CPFontManager.ji;15;CPTextStorage.ji;17;CPTextContainer.ji;17;CPLayoutManager.ji;14;_CPRTFParser.ji;16;_CPRTFProducer.jt;200273;objj_executeFile("CPText.j", YES);objj_executeFile("CPPasteboard.j", YES);objj_executeFile("CPColorPanel.j", YES);objj_executeFile("CPFontManager.j", YES);objj_executeFile("CPTextStorage.j", YES);objj_executeFile("CPTextContainer.j", YES);objj_executeFile("CPLayoutManager.j", YES);objj_executeFile("_CPRTFParser.j", YES);objj_executeFile("_CPRTFProducer.j", YES);; ; ; ; @@ -70668,7 +70668,12 @@ class_addMethods(the_class, [new objj_method(sel_getUid("allowsUndo"), function return (self.isa.method_msgSend["isSelectable"] || _objj_forward)(self, "isSelectable"); } -,["BOOL"]), new objj_method(sel_getUid("_becomeFirstResponder"), function $CPTextView___becomeFirstResponder(self, _cmd) +,["BOOL"]), new objj_method(sel_getUid("acceptsFirstMouse:"), function $CPTextView__acceptsFirstMouse_(self, _cmd, anEvent) +{ + return YES; +} + +,["BOOL","CPEvent"]), new objj_method(sel_getUid("_becomeFirstResponder"), function $CPTextView___becomeFirstResponder(self, _cmd) { (self.isa.method_msgSend["updateInsertionPointStateAndRestartTimer:"] || _objj_forward)(self, "updateInsertionPointStateAndRestartTimer:", YES); ((___r1 = (CPFontManager.isa.method_msgSend["sharedFontManager"] || _objj_forward)(CPFontManager, "sharedFontManager")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setSelectedFont:isMultiple:"] || _objj_forward)(___r1, "setSelectedFont:isMultiple:", (self.isa.method_msgSend["font"] || _objj_forward)(self, "font"), NO)); diff --git a/Frameworks/AppKit/CommonJS.environment/AppKit.sj b/Frameworks/AppKit/CommonJS.environment/AppKit.sj index bd611fdb5..1b8eb97ab 100644 --- a/Frameworks/AppKit/CommonJS.environment/AppKit.sj +++ b/Frameworks/AppKit/CommonJS.environment/AppKit.sj @@ -68024,7 +68024,7 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_ ,["void"])]); } -p;12;CPTextView.jt;183465;@STATIC;1.0;i;8;CPText.ji;14;CPPasteboard.ji;14;CPColorPanel.ji;15;CPFontManager.ji;15;CPTextStorage.ji;17;CPTextContainer.ji;17;CPLayoutManager.ji;14;_CPRTFParser.ji;16;_CPRTFProducer.jt;183270;objj_executeFile("CPText.j", YES);objj_executeFile("CPPasteboard.j", YES);objj_executeFile("CPColorPanel.j", YES);objj_executeFile("CPFontManager.j", YES);objj_executeFile("CPTextStorage.j", YES);objj_executeFile("CPTextContainer.j", YES);objj_executeFile("CPLayoutManager.j", YES);objj_executeFile("_CPRTFParser.j", YES);objj_executeFile("_CPRTFProducer.j", YES);; +p;12;CPTextView.jt;183620;@STATIC;1.0;i;8;CPText.ji;14;CPPasteboard.ji;14;CPColorPanel.ji;15;CPFontManager.ji;15;CPTextStorage.ji;17;CPTextContainer.ji;17;CPLayoutManager.ji;14;_CPRTFParser.ji;16;_CPRTFProducer.jt;183425;objj_executeFile("CPText.j", YES);objj_executeFile("CPPasteboard.j", YES);objj_executeFile("CPColorPanel.j", YES);objj_executeFile("CPFontManager.j", YES);objj_executeFile("CPTextStorage.j", YES);objj_executeFile("CPTextContainer.j", YES);objj_executeFile("CPLayoutManager.j", YES);objj_executeFile("_CPRTFParser.j", YES);objj_executeFile("_CPRTFProducer.j", YES);; ; ; ; @@ -68513,7 +68513,12 @@ class_addMethods(the_class, [new objj_method(sel_getUid("allowsUndo"), function return (self.isa.method_msgSend["isSelectable"] || _objj_forward)(self, "isSelectable"); } -,["BOOL"]), new objj_method(sel_getUid("_becomeFirstResponder"), function $CPTextView___becomeFirstResponder(self, _cmd) +,["BOOL"]), new objj_method(sel_getUid("acceptsFirstMouse:"), function $CPTextView__acceptsFirstMouse_(self, _cmd, anEvent) +{ + return YES; +} + +,["BOOL","CPEvent"]), new objj_method(sel_getUid("_becomeFirstResponder"), function $CPTextView___becomeFirstResponder(self, _cmd) { (self.isa.method_msgSend["updateInsertionPointStateAndRestartTimer:"] || _objj_forward)(self, "updateInsertionPointStateAndRestartTimer:", YES); ((___r1 = (CPFontManager.isa.method_msgSend["sharedFontManager"] || _objj_forward)(CPFontManager, "sharedFontManager")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setSelectedFont:isMultiple:"] || _objj_forward)(___r1, "setSelectedFont:isMultiple:", (self.isa.method_msgSend["font"] || _objj_forward)(self, "font"), NO)); diff --git a/Resources/recipes.txt b/Resources/recipes.txt index 2b2419368..c11b77ece 100644 --- a/Resources/recipes.txt +++ b/Resources/recipes.txt @@ -1,143 +1,143 @@ -1769581734174|ArrayController1| -1769581734188|ArrayControllerInitialSelectionTest| -1769581734201|ArrayControllerRemovingFirstTest| -1769581734215|AttachedSheet| -1769581734228|AttachedSheet2| -1769581734242|Bindings| -1769581734256|CGCanvasContext| -1769581734269|CGPath| -1769581734282|CPAlertTest| -1769581734296|CPAnimatablePropertyContainerTest| -1769581734309|CPAnimationContextTest| -1769581734322|CPAnimationTest| -1769581734336|CPBinder-echo-bug| -1769581734349|CPBoxCibTest| -1769581734362|CPBoxTest| -1769581734376|CPBrowserTest| -1769581734389|CPButtonKeyEquivalentDefaultTest| -1769581734402|CPButtonTest| -1769581734416|CPByteCountFormatter| -1769581734429|CPCollectionViewNibTest| -1769581734442|CPColor-CPImage-description| -1769581734456|CPColorWellBindings| -1769581734469|CPComboBoxTest| -1769581734482|CPControlPerformClickExceptionTest| -1769581734496|CPControlSize| -1769581734509|CPCursor| -1769581734522|CPDateFormatterTest| -1769581734536|CPDatePickerTest| -1769581734549|CPDictionaryControllerTest| -1769581734562|CPDocumentControllerTest| -1769581734575|CPFormatterTest| -1769581734588|CPGraphicsTest| -1769581734602|CPImageAndTextViewImageScaling| -1769581734615|CPImageViewAlignmentScaling| -1769581734628|CPImageViewTest| -1769581734642|CPImageViewbindingsTest| -1769581734655|CPLevelIndicator| -1769581734668|CPLocalizationTest| -1769581734681|CPLogTest| -1769581734695|CPMenuCALayerTest| -1769581734708|CPMenuEnabledBindingsTest| -1769581734721|CPMenuKeyEquivalents| -1769581734735|CPMenuRemoveAllTest| -1769581734748|CPMenuSubmenuPlacementConstraints| -1769581734761|CPMenuTest| -1769581734774|CPOutlineViewCibTest| -1769581734788|CPOutlineViewTest| -1769581734801|CPOutlineViewViewBasedCibTest| -1769581734815|CPPanelTest| -1769581734828|CPPlatformWindow| -1769581734841|CPPlattformWindowMinSize| -1769581734855|CPPopUpButtonBindings| -1769581734868|CPPopUpButtonTest| -1769581734881|CPPopover| -1769581734895|CPPredicateEditorCibTest| -1769581734908|CPProgressIndicator| -1769581734921|CPPropertyListSerializationTest| -1769581734934|CPRadioBindings| -1769581734948|CPRuleEditorCibTest| -1769581734961|CPScrollView| -1769581734974|CPScrollView2| -1769581734988|CPSearchField| -1769581735001|CPSearchFieldPredicateBinding| -1769581735014|CPSegmentedControlBindings| -1769581735027|CPSegmentedControlTest| -1769581735041|CPSoundTest| -1769581735054|CPSplitViewDivider| -1769581735067|CPSplitViewTest| -1769581735081|CPStackViewTest| -1769581735094|CPStepperBindings| -1769581735107|CPStepperNibTest| -1769581735120|CPTabView2| -1769581735134|CPTabViewBindings| -1769581735147|CPTabViewNib| -1769581735160|CPTableViewGroupRows| -1769581735173|CPTextField| -1769581735187|CPTextFieldEditingStyleTest| -1769581735200|CPTextFieldHeightTest| -1769581735213|CPTextFieldMovementsTest| -1769581735226|CPTextFieldMultiline| -1769581735240|CPTextView| -1769581735253|CPTextViewCibTest| -1769581735266|CPTextViewDelegateAndNotifications| -1769581735279|CPTimeZone| -1769581735293|CPTokenFieldTest| -1769581735306|CPToolTip| -1769581735319|CPToolbarTest| -1769581735333|CPURLConnectionAsyncTest| -1769581735346|CPURLConnectionSynchronousTest| -1769581735359|CPUserDefaults| -1769581735373|CPUserDefaultsControllerTest| -1769581735386|CPUserNotificationTest| -1769581735399|CPViewController| -1769581735413|CPVisualEffectViewTest| -1769581735426|CPWebViewTest| -1769581735439|CPWebViewTest2| -1769581735452|CPWindowLiveResizeTest| -1769581735466|CPWindowMovableTest| -1769581735479|CPWindowResizeStyle| -1769581735492|ChildWindows| -1769581735505|CompilationTests| -1769581735519|ContinuouslyUpdatesValueBinding| -1769581735532|CopyAndPaste| -1769581735545|CrossOriginTest| -1769581735558|FF4096Test| -1769581735572|FontEnhancementTest| -1769581735585|FontMetricsExplorer| -1769581735598|KeyEquivalents| -1769581735612|KeyViewLoopTest| -1769581735625|KeyWindowInTheBackgroundActivation| -1769581735638|LayoutTest| -1769581735651|LoadTimeTest| -1769581735665|LongBindings| -1769581735678|MobileTest| -1769581735691|MultipleValueBindings| -1769581735704|NSBoxTest| -1769581735718|NSBrowserTest| -1769581735731|NewTextFieldBezel| -1769581735744|Nib2CibAlignment| -1769581735757|Nib2CibBaselineAlignementTest| -1769581735771|Nib2CibSubviewsOrderTest| -1769581735784|NibAppRemixed| -1769581735797|PatternFillTest| -1769581735810|PlatformWindows| -1769581735824|PopUpButtonEscTest| -1769581735837|ScalingTest| -1769581735850|ScalingTest2| -1769581735863|ScrollviewTheming| -1769581735877|SheetWindowOrderFrontIssue| -1769581735890|SimpleBindings2| -1769581735903|SmartFoldersDemo| -1769581735917|TableTest| -1769581735930|ThemeBrowser| -1769581735943|ThemeKitchenSink| -1769581735957|TrackingArea| -1769581735970|UndoRedoWithMenuUpdate| -1769581735983|UserlandNSTest| -1769581735996|layoutEphemeralSubviewTest| -1769581736010|loadDynamicFrameworks| -1769581736023|performKeyEquivalentTest| -1769581736036|predicateWithFormat| -1769581736050|resignFirstResponder-CPControlTextDidEndEditing| -1769581736063|sizeToFitFix| +1769624744357|ArrayController1| +1769624744370|ArrayControllerInitialSelectionTest| +1769624744383|ArrayControllerRemovingFirstTest| +1769624744396|AttachedSheet| +1769624744410|AttachedSheet2| +1769624744423|Bindings| +1769624744436|CGCanvasContext| +1769624744448|CGPath| +1769624744461|CPAlertTest| +1769624744475|CPAnimatablePropertyContainerTest| +1769624744487|CPAnimationContextTest| +1769624744500|CPAnimationTest| +1769624744513|CPBinder-echo-bug| +1769624744526|CPBoxCibTest| +1769624744540|CPBoxTest| +1769624744553|CPBrowserTest| +1769624744566|CPButtonKeyEquivalentDefaultTest| +1769624744579|CPButtonTest| +1769624744592|CPByteCountFormatter| +1769624744605|CPCollectionViewNibTest| +1769624744617|CPColor-CPImage-description| +1769624744630|CPColorWellBindings| +1769624744643|CPComboBoxTest| +1769624744656|CPControlPerformClickExceptionTest| +1769624744669|CPControlSize| +1769624744682|CPCursor| +1769624744695|CPDateFormatterTest| +1769624744708|CPDatePickerTest| +1769624744721|CPDictionaryControllerTest| +1769624744733|CPDocumentControllerTest| +1769624744746|CPFormatterTest| +1769624744759|CPGraphicsTest| +1769624744772|CPImageAndTextViewImageScaling| +1769624744785|CPImageViewAlignmentScaling| +1769624744798|CPImageViewTest| +1769624744811|CPImageViewbindingsTest| +1769624744824|CPLevelIndicator| +1769624744837|CPLocalizationTest| +1769624744850|CPLogTest| +1769624744863|CPMenuCALayerTest| +1769624744876|CPMenuEnabledBindingsTest| +1769624744889|CPMenuKeyEquivalents| +1769624744902|CPMenuRemoveAllTest| +1769624744915|CPMenuSubmenuPlacementConstraints| +1769624744928|CPMenuTest| +1769624744941|CPOutlineViewCibTest| +1769624744953|CPOutlineViewTest| +1769624744967|CPOutlineViewViewBasedCibTest| +1769624744979|CPPanelTest| +1769624744992|CPPlatformWindow| +1769624745005|CPPlattformWindowMinSize| +1769624745018|CPPopUpButtonBindings| +1769624745031|CPPopUpButtonTest| +1769624745044|CPPopover| +1769624745056|CPPredicateEditorCibTest| +1769624745070|CPProgressIndicator| +1769624745082|CPPropertyListSerializationTest| +1769624745096|CPRadioBindings| +1769624745109|CPRuleEditorCibTest| +1769624745121|CPScrollView| +1769624745135|CPScrollView2| +1769624745148|CPSearchField| +1769624745161|CPSearchFieldPredicateBinding| +1769624745174|CPSegmentedControlBindings| +1769624745186|CPSegmentedControlTest| +1769624745199|CPSoundTest| +1769624745212|CPSplitViewDivider| +1769624745225|CPSplitViewTest| +1769624745238|CPStackViewTest| +1769624745251|CPStepperBindings| +1769624745263|CPStepperNibTest| +1769624745276|CPTabView2| +1769624745289|CPTabViewBindings| +1769624745302|CPTabViewNib| +1769624745315|CPTableViewGroupRows| +1769624745328|CPTextField| +1769624745340|CPTextFieldEditingStyleTest| +1769624745353|CPTextFieldHeightTest| +1769624745366|CPTextFieldMovementsTest| +1769624745379|CPTextFieldMultiline| +1769624745392|CPTextView| +1769624745405|CPTextViewCibTest| +1769624745418|CPTextViewDelegateAndNotifications| +1769624745431|CPTimeZone| +1769624745444|CPTokenFieldTest| +1769624745456|CPToolTip| +1769624745469|CPToolbarTest| +1769624745482|CPURLConnectionAsyncTest| +1769624745495|CPURLConnectionSynchronousTest| +1769624745508|CPUserDefaults| +1769624745521|CPUserDefaultsControllerTest| +1769624745534|CPUserNotificationTest| +1769624745547|CPViewController| +1769624745559|CPVisualEffectViewTest| +1769624745572|CPWebViewTest| +1769624745585|CPWebViewTest2| +1769624745598|CPWindowLiveResizeTest| +1769624745611|CPWindowMovableTest| +1769624745624|CPWindowResizeStyle| +1769624745637|ChildWindows| +1769624745650|CompilationTests| +1769624745663|ContinuouslyUpdatesValueBinding| +1769624745675|CopyAndPaste| +1769624745688|CrossOriginTest| +1769624745701|FF4096Test| +1769624745714|FontEnhancementTest| +1769624745727|FontMetricsExplorer| +1769624745740|KeyEquivalents| +1769624745752|KeyViewLoopTest| +1769624745765|KeyWindowInTheBackgroundActivation| +1769624745778|LayoutTest| +1769624745791|LoadTimeTest| +1769624745804|LongBindings| +1769624745817|MobileTest| +1769624745830|MultipleValueBindings| +1769624745843|NSBoxTest| +1769624745856|NSBrowserTest| +1769624745869|NewTextFieldBezel| +1769624745881|Nib2CibAlignment| +1769624745894|Nib2CibBaselineAlignementTest| +1769624745907|Nib2CibSubviewsOrderTest| +1769624745920|NibAppRemixed| +1769624745933|PatternFillTest| +1769624745946|PlatformWindows| +1769624745959|PopUpButtonEscTest| +1769624745972|ScalingTest| +1769624745985|ScalingTest2| +1769624745998|ScrollviewTheming| +1769624746010|SheetWindowOrderFrontIssue| +1769624746023|SimpleBindings2| +1769624746036|SmartFoldersDemo| +1769624746049|TableTest| +1769624746061|ThemeBrowser| +1769624746074|ThemeKitchenSink| +1769624746087|TrackingArea| +1769624746100|UndoRedoWithMenuUpdate| +1769624746113|UserlandNSTest| +1769624746126|layoutEphemeralSubviewTest| +1769624746138|loadDynamicFrameworks| +1769624746151|performKeyEquivalentTest| +1769624746164|predicateWithFormat| +1769624746177|resignFirstResponder-CPControlTextDidEndEditing| +1769624746190|sizeToFitFix|