bobbylight / RSyntaxTextArea

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

Gutter does not auto-size to fit line numbers greater than 99 (with self-contained sample) #541

Open earlhood opened 5 months ago

earlhood commented 5 months ago

Sorry for the duplicate, but bug #511 is marked closed since it took a long time for me to get around to creating a self-contained example. The final comment requested to reopen if needed, but there is no ability to reopen a bug item for non-committers.

Details of bug #511 still apply. See attachment for a self-contained example that illustrates the problem. If you execute 'run.sh' it will compile the program and run it. You have to use the window manager to close/exit the window as I have neutered the buttons. The program is based on a dialog used in a product, so I had to remove references to other classes to keep the sample self-contained.

rsyntaxarea-dialog-test.tar.gz