Steve Allday Steve Allday - 1 year ago 98
Javascript Question

Ace Editor Get Current Cursor Row and Column

I'm using Ace Editor. In Javascript, (not jQuery), how would I return the current cursor row and column position?

Answer Source

editor.getCursorPosition() returns an object with row and column properties