fix: allow jumping back to column in column layout #396
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before this change you could create a column layout, jump to column X, then Y, then go back to X and it worked but it would start over at the very top row of column X. This meant it would overwrite content you wrote in that column the last time you entered it.
This changes that behavior so it behaves as you'd expect: re-entering a column will cause the cursor to continue at the last row you modified in that column. This, in combination with pauses, allows you to create presentations where content shows up in multiple columns progressively, e.g. pause, show content on column 0, show content on column 1, pause, show more content, etc.
As an example, the following presentation:
Renders like this:
Fixes #346