Skip to content

Fix word_range_for_pos#1893

Merged
PoignardAzur merged 2 commits intolinebender:masterfrom
maan2003:word-range
Aug 4, 2021
Merged

Fix word_range_for_pos#1893
PoignardAzur merged 2 commits intolinebender:masterfrom
maan2003:word-range

Conversation

@maan2003
Copy link
Collaborator

@maan2003 maan2003 commented Aug 4, 2021

earlier for the last word pos..pos was returned
because peek will be None and unwraped to false

Also added some tests.

Fixes #1892

earlier for the last word pos..pos was returned
because peek will be None and unwraped to false

Also added some tests.
Copy link
Collaborator

@PoignardAzur PoignardAzur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@PoignardAzur PoignardAzur merged commit 2a47b81 into linebender:master Aug 4, 2021
@PoignardAzur
Copy link
Collaborator

It works, word selection now works as expected.

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.

X11 backend does not detect double clicks

2 participants