Replies: 11 comments 6 replies
-
Hi, Yes, using GitHub Discussions is the right place for this. :^) I must admit, this did cross my mind a while ago. The Seer code editor has its own "theme". It overrides various things. (Background, foreground,etc.) It does this because people have asked for syntax highlighting for the code. Syntax highlighting has control over the font, italics, bold, underline, foreground color, and background color for each major syntax of the C/C++ language. Another thing to consider is the background/foreground color of the line number margin. Unfortunately, the normal theme mechanism is not sufficient for all these settings. A couple options come to mind.
|
Beta Was this translation helpful? Give feedback.
-
Okay. Thanks for the feedback. Let me play around with this. |
Beta Was this translation helpful? Give feedback.
-
On the other hand, syntax highlighting editors like Geany and Featherpad (which is the default in LXQt) treat the source area differently from the application itself. The Geany interface follows the system theme but the source area colors are determined by color schemes. Similarly, Featherpad has a "dark color scheme" checkbox preference in its settings. Their reason to separate the source area styling is probably syntax highlighting, like in Seer's case. That behavior is more like option 2. |
Beta Was this translation helpful? Give feedback.
-
Note to myself, here. Check out these links to see how the Kate editor shows "light" and "dark" C/C++ syntax highlighting. https://kate-editor.org/syntax/ |
Beta Was this translation helpful? Give feedback.
-
Hi, Here's my initial attempt at a dark color scheme for the editor part of Seer. The rest of Seer is set by the KDE's "Breeze-Dark" color scheme. Let me know if I'm heading in the right direction. I plan on adding a "light" and "dark" scheme, and perhaps a "custom". Thanks. |
Beta Was this translation helpful? Give feedback.
-
Cool. Thanks. I'll work on a feature to switch between "light" and "dark" themes. Of cource they can still be tweaked after they are selected. And saved. |
Beta Was this translation helpful? Give feedback.
-
Found another nice looking dark theme. |
Beta Was this translation helpful? Give feedback.
-
Hi @uyar, I've added the feature to select a 'light' or 'dark' theme for the source editors. Grab the latest code. Go into Seer's Editor option dialog, select 'light' or 'dark'. Then click on "Apply". You can do further tweaking of colors if you select on individual components of the theme. When you click on the dialog's "Ok" button, any current or future source tabs will have the new colors. |
Beta Was this translation helpful? Give feedback.
-
Great. Glad you like it. Hopefully other people that use "dark" theme will find it helpful :^) I separated it because I wanted to give the user a chance to try any new settings in the current session before committing to them (by saving them). Hence the separate menu entry. I suppose I could have these buttons in the config dialog:
Is that what you mean? I can see if it's possible. |
Beta Was this translation helpful? Give feedback.
-
The "RESET" button applies to the current config page you are viewing (not to all pages). I like your wording better.
Let me give it some thought. Thanks for the input and suggestions! |
Beta Was this translation helpful? Give feedback.
-
Hi, You may want to re-grab the latest. I introduced a nasty double-refresh problem in the source editors when stepping. It's now fixed. |
Beta Was this translation helpful? Give feedback.
-
First of all, I hope this is the right place to post this to.
I have a question about theming. I'm not sure that this is an "issue" to be solved in Seer, so I thought I might ask here. I'm attaching a screenshot of Seer using a dark theme on my LXQt desktop.
As you can see, the source code editor area does not follow the theme. There are settings in the Seer configuration panels for background/foreground colors in the source editor but it feels like that should not be necessary. Is there a way to let Seer use a theme for that part, like a Qt environment variable setting?
Beta Was this translation helpful? Give feedback.
All reactions