You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tabs are not highlighted when selecting text in RichTextLabel.
Steps to reproduce:
create a RichTextLabel, set selection_enabled to True
Fill RichTextLabel with text that has tabs like this (you can just copy-paste it)
helloworld
Select the text in this RichTextLabel using mouse
As you can see tabs areas are not highlighted
(but the text is selected with tabs - you сan verify this when Ctrl+C and Ctrl+V the selected text somewhere)
This is true for Output Log as well since it is a RichTextLabel so you could just
func_ready():
print(" hello world")
Expected result when selecting the text:
Minimal reproduction project:
The text was updated successfully, but these errors were encountered:
@torabshaikh Thanks for your interest in contributing 🙂
The RichTextLabel node's code is at scene/gui/rich_text_label.cpp. Search for selection_bg (background color) and selection_fg (foreground color) to find the code that draws the selection.
See this page for compilation instructions. Remember to open the pull request against the master branch . This means that to test your changes, you need a GPU that fully supports Vulkan. If your GPU doesn't support Vulkan, work from the 3.2 branch, commit your changes, switch to the master branch and use the git cherry-pick command to pick the latest commit of the 3.2-based branch you've made.
Godot version:
3.2.3
OS/device including version:
Windows
Issue description:
Tabs are not highlighted when selecting text in
RichTextLabel
.Steps to reproduce:
RichTextLabel
, setselection_enabled
toTrue
RichTextLabel
with text that has tabs like this (you can just copy-paste it)RichTextLabel
using mouseAs you can see tabs areas are not highlighted
(but the text is selected with tabs - you сan verify this when
Ctrl+C
andCtrl+V
the selected text somewhere)This is true for
Output Log
as well since it is aRichTextLabel
so you could justExpected result when selecting the text:
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: