carloea2 commented on code in PR #5912:
URL: https://github.com/apache/texera/pull/5912#discussion_r3701576290
##########
frontend/src/app/workspace/component/code-editor-dialog/code-editor.component.ts:
##########
@@ -403,6 +410,13 @@ export class CodeEditorComponent implements AfterViewInit,
SafeStyle, OnDestroy
}
this.setupAIAssistantActions(editor);
this.initCodeDebuggerComponent(editor);
+ if (this.detachYCodeListener) {
+ this.detachYCodeListener();
+ }
+
+ if (this.code) {
+ this.detachYCodeListener =
this.uiUdfParametersSyncService.attachToYCode(this.currentOperatorId,
this.code);
Review Comment:
Parser errors now appear through user-visible notifications.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]