Menu

#481 Background color of editor (rsyntaxextarea)

General
closed
nobody
None
5
2022-11-26
2013-09-19
No

Love the product, the only issue I have is when I choose a nice dark theme like "Substance" with twilight skin... I would love to change the background of the text editor to something other than white. White is hard on the eyes after awhile, would love to make it grey or some other darker color. The only other color issue is in the status window when I have chosen (in my case green in the alias). Examples are attached.

The grey text editor background is much easier on the eyes!

Thanks again for a great product!

Duane

3 Attachments

Discussion

  • Andras Soltesz

    Andras Soltesz - 2014-05-30

    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.

     
  • Duane Redfern

    Duane Redfern - 2015-02-25

    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!

     
  • Gerd Wagner

    Gerd Wagner - 2015-02-26
    • status: open --> accepted
     
  • Gerd Wagner

    Gerd Wagner - 2015-02-26

    You're welcome.

    Closed as requested.

     
  • Gerd Wagner

    Gerd Wagner - 2015-06-05
    • status: accepted --> closed
     
  • Chris Bitmead

    Chris Bitmead - 2021-11-05

    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.

     
  • Gerd Wagner

    Gerd Wagner - 2021-11-05

    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.

     
    • Chris Bitmead

      Chris Bitmead - 2021-11-07

      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.

       
  • Gerd Wagner

    Gerd Wagner - 2021-11-14

    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.

     
  • Herchi

    Herchi - 2022-10-31

    great! but... it doesn't work in graphs?
    https://i.imgur.com/nD2Imf9.png

     
  • Gerd Wagner

    Gerd Wagner - 2022-11-26

    great! but... it doesn't work in graphs?

    Committed to our GIT repository, will be available in future snapshots and versions.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.