Deprecations:

- Replace editor.getCursor() with editor.getLastCursor().