bobbylight / RSyntaxTextArea

A syntax highlighting, code folding text editor for Java Swing applications.
BSD 3-Clause "New" or "Revised" License
1.12k stars 259 forks source link

Setting fold icon background doesn't take effect immediately #456

Closed bobbylight closed 2 years ago

bobbylight commented 2 years ago

Description Calling Gutter.setFoldBackground(Color) does not repaint the fold portion of the gutter, causing the new color to not immediately take effect.

Steps to Reproduce Specific steps to reproduce the behavior:

  1. Call Gutter.setFoldBackground(Color) while an instance of RSTA/RTextScrollPane is visible.

Expected behavior The new color is reflected in any existing fold icons.

Actual behavior The new color is not reflected until mouseover.