Skip to content

Fix highlight fill#844

Merged
Jugen merged 3 commits intoFXMisc:masterfrom
Jugen:fix_highlight_fill
Aug 21, 2019
Merged

Fix highlight fill#844
Jugen merged 3 commits intoFXMisc:masterfrom
Jugen:fix_highlight_fill

Conversation

@Jugen
Copy link
Copy Markdown
Collaborator

@Jugen Jugen commented Aug 21, 2019

The highlight fill property has been broken since 0.9.0 as a result of the multiple selection capability being added.

It can now be set again via CSS with either of:

.styled-text-area .selection { -fx-fill: lime; }
/* or */
.styled-text-area .selection { -fx-highlight-fill: lime; }
/* or */
.styled-text-area .main-selection { -fx-highlight-fill: pink; }
/* or */
.styled-text-area .main-selection { -fx-fill: pink; }

@Jugen Jugen merged commit 1da8760 into FXMisc:master Aug 21, 2019
@Jugen Jugen deleted the fix_highlight_fill branch August 21, 2019 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant