Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accommodate selection when following caret #933

Merged
merged 1 commit into from
Jun 25, 2020
Merged

Accommodate selection when following caret #933

merged 1 commit into from
Jun 25, 2020

Conversation

Jugen
Copy link
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