I was checking ace editor docs & found that, editor.getCursorPosition() retrieves the current cursor position.
But how do I do this in react-ace. I'm not sure, how to get the editor instance & call getCursorPosition() function over it.
I checked the react-ace documentation as well but I couldn't find a way to do this.
Could anyone help on this?