Background color of editor (rsyntaxextarea)
A Java SQL client for any JDBC compliant database
Brought to you by:
colbell,
gerdwagner
I would also like to see this feature in SQuirreL because it is currently impossible to make the SQL editor pane fit with the rest of the app if a dark theme is selected.
I use SQuirreL a lot and switching to a dark theme with it is not viable at the moment.
I would consider this closed... I made a change to make the background color match the whitespace background, and sent my code Gerd Wagner. Gerd later incorporated the change into the project. All is well!
Thank you Gerd!
You're welcome.
Closed as requested.
Sorry to resurrect this old issue, but where can you change the SQL editor font background color? This issue makes it sound like it's possible, but it's the only reference on the web I can find to it.
Got to menu "New Session Properties" -> tab "Syntax". In section "Syntax styles" you are able to choose background colors (rightmost button on the left). To turn the background of the editor black choose black background for all styles.
You may consider also to adjust the current line highlight color.
OK, great. I thought I'd looked through every menu looking for that, must have missed it...
Now in this age when Android and Windows and Mac all have a "dark mode", it would be awesome if one didn't have to fiddle for half an hour with a dozen syntax styles and backgrounds and foregrounds to find a tasteful dark one. It seems to me that the Look & Feel themes should come pre-packaged with some text colours in keeping with their theme.
Chris,
is committed and will be available in future snapshots and version. Excerpt from change log:
'# 481 Introduced option to choose between the default (light) color theme and a dark theme.
Changing to the dark color theme is done by switching to the FlatLaf Look&Feel with theme Flat Dark
and by adjusting the SQL editor colors. The color theme can be switched at
menu File --> Global Preferences --> tab General --> bottom off section Appearance.
great! but... it doesn't work in graphs?
https://i.imgur.com/nD2Imf9.png
Committed to our GIT repository, will be available in future snapshots and versions.