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

Change default for last_column in EditContext #146

Merged
merged 1 commit into from
Aug 10, 2024
Merged

Conversation

ulyssa
Copy link
Owner

@ulyssa ulyssa commented Aug 10, 2024

While looking into ulyssa/iamb#297, I think I've convinced myself that the default that EditContext/EditContextBuilder uses for last_column is wrong and a potential footgun that results in accidentally misusing InsertTextAction and others outside of a keybinding context. It should default to true so that building Action values from scratch don't unexpectedly clamp the cursor, but require explicitly requesting that behaviour via the builder interface.

@ulyssa ulyssa enabled auto-merge (squash) August 10, 2024 04:05
@ulyssa ulyssa merged commit e6412d5 into main Aug 10, 2024
4 checks passed
@ulyssa ulyssa deleted the last-column-default branch August 10, 2024 04:08
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.

1 participant