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

[4.x] Bard: Fix adding sets with horizontal cursor #9064

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

duncanmcclean
Copy link
Member

This pull request fixes a bug with Bard where you couldn't add any sets when you have a "horizontal cursor".

Normally, the selection with a normal cursor would be an instance of TextSelection. However, when it's a "horizontal cursor", a GapCursor will instead be returned which doesn't have a $cursor to get the position from.

Fixes #7712.

@jackmcdade jackmcdade merged commit 5574549 into 4.x Dec 1, 2023
34 checks passed
@jackmcdade jackmcdade deleted the fix/adding-sets-with-horizontal-cursor branch December 1, 2023 21:18
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.

Bard doesn't add sets when cursor is horizontal
2 participants