-
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
How to remove the rectangles around selected lines ? #738
Comments
Which version of RTFX are you using? Which flavor of In short, if you change the |
I think the reason is use: |
When rendering elements onto the screen, they must be rendered in a specific order so that one thing appears to be laid 'on top of' another thing. In
Given the above, a
three nodes are rendered to make the selection appear seamless: one for .styled-text-area .selection {
/* stroke's color not defined here since it defaults to black */
-fx-stroke-width: 2;
} |
This problem happens on RichTextFX 0.10.2 OpenjFX 13.0.1 OpenJDK 13.0.1. Windows 7 When a selection is started with a mouse and the mouse keeps dragging until the scrollbar moves automatically to show the next part of the document then suddenly small space appears between the lines and the selection is no longer solid but has these tiny lines. It does not happen when you select using keys because the selection with keys is growing line by line. |
Hello
new to RichTextFX... looks great!
Is it possible to remove the "line boxing" when selecting text over multiple lines ?
it looks weird to have each line separately surrounded by those rectangles..
thanks !
alex
The text was updated successfully, but these errors were encountered: