Support Shift+click to extend message text selection#30695
Open
dmitry wants to merge 1 commit into
Open
Conversation
f9f33ba to
8e6830c
Compare
23rd
reviewed
May 14, 2026
23rd
reviewed
May 14, 2026
8e6830c to
e3e13c7
Compare
Member
|
This is nice! Sadly, we don't track really where the anchor is, so the feel still won't be native (did we select from symbol 20 to symbol 10 or from symbol 10 to symbol 20 and then shift click on symbol 15 - the results should be different, like in browsers, but here we don't save that information). But this a start! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a message has selected text,
Shift+clickin the same message now extends the selection to the click point, just like in browsers. Previously,Shift+clicksimply dropped the old selection and started a new one.Works in regular chats, channels, topics, replies, pinned, and scheduled messages.
How to try: select a few words in a message, then
Shift+clicksomewhere else in the same message - the selection should extend to the click point.