Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store cursor position when changing lines (#749)
## What is the goal of this PR? We store cursor positions when changing lines as described in #748. This is standard behaviour in other IDEs, such as IntelliJ IDEA and VSCode. ## What are the changes implemented in this PR? We store an additional piece of data in `Cursor`, `lastCol`. This remembers the last position of the column, which we only forget upon the creation of a new cursor by a method other than moving up or down a line. ## Additional info Closes #748
- Loading branch information