This repository has been archived by the owner on Aug 14, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For lineNumber use getCursorBufferPosition()
When using getCursorScreenPosition() with soft wrap the line number is incorrect and the location in the document is incorrect. Instead use getCursorBufferPosition() which does not count wrapped lines. For further details see https://atom.io/docs/api/v0.187.0/TextEditor#buffer-vs-screen-coordinates Closes #68
- Loading branch information