Skip to content

Behavior of setParagraphStyle bas been changed in 0.11 in comparison with 0.10.9 version  #1241

@iazarny

Description

@iazarny

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
actual expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions