angular-ui / ui-ace

This directive allows you to add ACE editor elements.
http://angular-ui.github.io/ui-ace
MIT License
578 stars 172 forks source link

Missing onFocus callback when the editor is focused #170

Open steven-pribilinskiy opened 7 years ago

steven-pribilinskiy commented 7 years ago

There's a documented and available onBlur callback that is properly invoked when the editor is blurred. Unfortunately there's no onFocus yet and there's a need for it

sjeatdsi commented 7 years ago

I would agree. I have multiple editors on a single page. Would be nice to know when one of them gets the focus so that I can visually indicate which editor pane is currently active by highlighting my custom header element.

ajthinking commented 6 years ago

Need this