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

Fix cursor placement at Regex replace etc #1310

Merged
merged 1 commit into from
Apr 11, 2021

Conversation

harshad1
Copy link
Collaborator

Without this change, sometimes the wrong line can be selected after a change.

for example, without this fix (where | represents the cursor)

foo
|           <-- Last line

followed by decrease indent

results in

foo|

The i.e. the selection is incorrectly moved to the previous line

@gsantner gsantner added the bug label Apr 11, 2021
@gsantner gsantner added this to the v2.7 milestone Apr 11, 2021
@gsantner gsantner changed the title Small fix for selection setting in Regex replace etc Fix cursor placement at Regex replace etc Apr 11, 2021
@gsantner gsantner merged commit 2849cb4 into gsantner:master Apr 11, 2021
@harshad1 harshad1 deleted the set_selection_last_line branch April 11, 2022 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants