I get that error when trying to get the position of the cursor. I used editor.Cursor.getBuffferPosition() and that came up. According to the APIs and the Cursor class, that should work. Is there something I’m missing? Or is there a better way to get cursor positioning? To be precise, I’m trying to get the row of the cursor, and I tried that by doing the above command and accessing the value at index 0. But obviously, that doesn’t work. What am I doing wrong?
Thanks in advance!