We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b17f724 + 5602f69 commit 8a51f65Copy full SHA for 8a51f65
1 file changed
richtextfx/src/main/java/org/fxmisc/richtext/GenericStyledArea.java
@@ -1194,7 +1194,7 @@ public void setLineHighlighterOn( boolean show )
1194
1195
Consumer<Bounds> caretListener = b ->
1196
{
1197
- if ( b.getMinY() != caretPrevY ) {
+ if ( b.getMinY() != caretPrevY || getCaretColumn() == 1 ) {
1198
adjustHighlighterRange.run();
1199
caretPrevY = b.getMinY();
1200
}
0 commit comments