File tree Expand file tree Collapse file tree
Core/Sources/SuggestionWidget Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ actor WidgetWindowsController: NSObject {
5858
5959 xcodeInspector. $focusedEditor. sink { [ weak self] editor in
6060 guard let editor else { return }
61- Task { [ weak self] in await self ? . observe ( to : editor) }
61+ Task { [ weak self] in await self ? . observe ( toEditor : editor) }
6262 } . store ( in: & cancellable)
6363
6464 xcodeInspector. $completionPanel. sink { [ weak self] newValue in
@@ -278,10 +278,10 @@ private extension WidgetWindowsController {
278278 }
279279 guard currentApplicationProcessIdentifier != app. processIdentifier else { return }
280280 currentApplicationProcessIdentifier = app. processIdentifier
281- observe ( to : app)
281+ observe ( toApp : app)
282282 }
283283
284- func observe( to app: AppInstanceInspector ) {
284+ func observe( toApp app: AppInstanceInspector ) {
285285 guard let app = app as? XcodeAppInstanceInspector else { return }
286286 let notifications = app. axNotifications
287287 observeToAppTask? . cancel ( )
@@ -337,7 +337,7 @@ private extension WidgetWindowsController {
337337 }
338338 }
339339
340- func observe( to editor: SourceEditor ) {
340+ func observe( toEditor editor: SourceEditor ) {
341341 observeToFocusedEditorTask? . cancel ( )
342342 observeToFocusedEditorTask = Task {
343343 let selectionRangeChange = await editor. axNotifications. notifications ( )
You can’t perform that action at this time.
0 commit comments