Expected behavior or in 0.10.X version
The paragraph style applies to the entire width of the code area. In this way, you can highlight the entire line
Actual behavior or in 0.11.X version
Paragraph style applied till end of the line, the length of which may be less code area width
Css example
.diff-modified {
-fx-background-color: #d7f8f6;
-fx-stroke-width: 0.5;
-fx-stroke: #e5e5fa;
-fx-fill: #d7f8f6;
}
Environment info:
- RichTextFX Version: 0.10.X, 0.11.X
- Operating System: Win, Mac, Lin
- Java version: 17 - 21

Expected behavior or in 0.10.X version
The paragraph style applies to the entire width of the code area. In this way, you can highlight the entire line
Actual behavior or in 0.11.X version
Paragraph style applied till end of the line, the length of which may be less code area width
Css example
.diff-modified {
-fx-background-color: #d7f8f6;
-fx-stroke-width: 0.5;
-fx-stroke: #e5e5fa;
-fx-fill: #d7f8f6;
}
Environment info: