-
Notifications
You must be signed in to change notification settings - Fork 236
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
-fx-highlight-fill does not work #192
Comments
It is not normal behavior, but it is a known problem that
|
Thanks for the response Tomas. There's definitely a use case for highlighting individual fragments of text. If you look at the CTRL-F find mechanism within Chrome, it is exactly the kind of function that requires this sort of highlighting. And it is this functionality I'm trying to incorporate into our application using RichTextFX. Are you saying that it's not possible at all? Or can there be a workaround to get this feature happening? Thanks. |
I specifically meant the color of the background of selected text—that's what You can use |
Oh my goodness, I didn't even know that css property existed. Thanks so much for that Tomas, that's fixed my issue. |
It only exists in RichTextFX. |
I'm creating the CSS cheat sheet and I think renaming |
HI Tomas,
There's an issue setting text highlights. If you run your ManualHighlighting.java application and change the "blue" class in manual-highlighting.css to apply "-fx-highlight-text-fill: blue" instead like so:
I've even tried -fx-highlight-fill, yet you'll notice neither will have any effect on the text when you attempt to apply it. Is this normal behaviour?
Thanks.
The text was updated successfully, but these errors were encountered: