File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Sources/CodeEditSourceEditor/Find Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ extension FindViewController {
4646 findPanel. addEventMonitor ( )
4747
4848 NotificationCenter . default. post (
49- name: FindPanelViewModel . findPanelDidToggleNotification ,
49+ name: FindPanelViewModel . Notifications . didToggle ,
5050 object: viewModel. target
5151 )
5252 }
@@ -77,7 +77,7 @@ extension FindViewController {
7777 }
7878
7979 NotificationCenter . default. post (
80- name: FindPanelViewModel . findPanelDidToggleNotification ,
80+ name: FindPanelViewModel . Notifications . didToggle ,
8181 object: viewModel. target
8282 )
8383 }
Original file line number Diff line number Diff line change @@ -106,10 +106,10 @@ class FindPanelViewModel: ObservableObject {
106106 target? . textView. emphasisManager? . removeEmphases ( for: EmphasisGroup . find)
107107 find ( )
108108
109- NotificationCenter . default. post ( name: Self . findPanelTextDidChangeNotification , object: target)
109+ NotificationCenter . default. post ( name: Self . Notifications . textDidChange , object: target)
110110 }
111111
112112 func replaceTextDidChange( ) {
113- NotificationCenter . default. post ( name: Self . findPanelReplaceTextDidChangeNotification , object: target)
113+ NotificationCenter . default. post ( name: Self . Notifications . replaceTextDidChange , object: target)
114114 }
115115}
You can’t perform that action at this time.
0 commit comments