You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
Is there possibility to catch an event when an error appears?
For example, a user types a wrong style name and ace-editor shows an error icon. Does ember-ace fire an action for this?
The text was updated successfully, but these errors were encountered:
@actionwatchForErrors(editor: any){editor.getSession().on('change',(_event: any,session: any)=>{// seems there is a delay between annotations and the change eventlater(()=>{this.editorErrors=session.getAnnotations().filterBy('type','error');},750);});}
Hi!
Is there possibility to catch an event when an error appears?
For example, a user types a wrong style name and ace-editor shows an error icon. Does ember-ace fire an action for this?
The text was updated successfully, but these errors were encountered: