Add triple-click paragraph selection to RichTextLabel#116868
Open
ismailivanov wants to merge 1 commit intogodotengine:masterfrom
Open
Add triple-click paragraph selection to RichTextLabel#116868ismailivanov wants to merge 1 commit intogodotengine:masterfrom
ismailivanov wants to merge 1 commit intogodotengine:masterfrom
Conversation
passivestar
approved these changes
Feb 28, 2026
Contributor
passivestar
left a comment
There was a problem hiding this comment.
UX makes sense and the feature works. Needs code review.
Holding the mouse button on the third click and dragging allows selecting multiple paragraphs, consistent with how double-click + drag selects multiple words.
On a sidenote this doesn't work with selecting multiple words for me, but it also doesn't work in 4.6 so it seems to be unrelated to this PR.
Member
See #116860 |
993e9c1 to
b7f3bb2
Compare
Calinou
reviewed
Mar 2, 2026
Member
Calinou
left a comment
There was a problem hiding this comment.
Tested locally, it works as expected.
triple_click_select.mp4
b7f3bb2 to
1a863e4
Compare
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.
Closes godotengine/godot-proposals#14046
Implements triple-click to select an entire paragraph in RichTextLabel, matching the standard behavior found in web browsers and most native text controls.
Previously, triple-clicking would reset the selection. Now, the third click selects the full paragraph the cursor is on. Holding the mouse button on the third click and dragging allows selecting multiple paragraphs, consistent with how double-click + drag selects multiple words.
Before:
538846670-29660d98-3fae-4dff-9a6f-6e4cbeab6be8.mp4
After:
2026-02-28.00-22-23.mp4