Skip to content

Accommodate selection when following caret#933

Merged
Jugen merged 1 commit intoFXMisc:masterfrom
Jugen:master
Jun 25, 2020
Merged

Accommodate selection when following caret#933
Jugen merged 1 commit intoFXMisc:masterfrom
Jugen:master

Conversation

@Jugen
Copy link
Copy Markdown
Collaborator

@Jugen Jugen commented Jun 25, 2020

Fixes #932

Ordinarily when a caret ends a selection in the target paragraph and scrolling left is required to follow
the caret then the selection won't be visible as it'll be just off to the left of the screen.

This PR adds a check for this scenario and adjusts follow caret so that the selection becomes visible as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Question: How to scroll to selection in CodeArea?

1 participant