-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Remove unused caret_background_color
theme item from TextEdit
#49513
Remove unused caret_background_color
theme item from TextEdit
#49513
Conversation
This color wasn't used anywhere.
caret_background_color
property from TextEditcaret_background_color
theme item from TextEdit
3abb9d7
to
b4c92e8
Compare
Any reason not to implement it? |
I don't see any practical reason for it. You can already configure the caret color or change it into a block caret. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bug, looks like it was missed as part of the RTL refactor.
caret_background_color
is the colour of the text behind the caret when block caret is enabled.
I see. Shouldn't we automatically determine this color instead (e.g. by inverting the text color if the caret's opacity is high enough)? Since very few people use the block caret in the first place, I don't think it needs a dedicated setting. |
Yeah, I don't see a problem with doing that. |
This should no longer be needed now in latest |
This color wasn't used anywhere.
Since this is a theme item (and not a property), removing it shouldn't break existing any projects, so we can probably cherry-pick this for
3.4
. This would also be useful to remove the associated editor setting which does nothing.I found this out while working on #48548.