[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Background and theme files for gb.highlight
[Thread Prev] | [Thread Next]
- Subject: Background and theme files for gb.highlight
- From: gbWilly <gbWilly@xxxxxxxxxxxxxx>
- Date: Thu, 02 Apr 2026 10:55:18 +0000
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
It came to my attention that Background in a themes file is no longer applied to my TextEditor control in Gambas 3.21.5
This really sucks big time. The application is build in 3.19.6 and runs fine there shows all as I like and want it.
It is a multidocument interface, so each new file opens a new instance of a form with on in there the TextEditor control.
It looks at the MIME type and determines what theme and highlight to load for said instance.
For example Gambas class, modules and form files are loaded with an Obsidian theme and gambas highlight, giving me a black background in the theme
A markdown file is loaded with a Markdown theme and another highlight, giving me a white background
An sh file is loaded with another theme and another highlight, holding another background etc.
The application supports html, gambas class, module, form, sh, c, Sql and more highlighting all using different themes with in the theme files different Backgrounds.
Creating a new class, sh or whatever file applies a custom template (like for sh it already places the Shebang), sets the theme and highlight for this type of file and you are ready to go.
I run my application on 3.21.5 and now ALL backgrounds are white!!! This is NO BUENO!!
Why was the Background removed from the theme files, it makes no sense as the theme file is a central point for coloring all in my editor and it works just fine.
Now, I will have to write extra code to set the background to the proper color, as most themes I use look awful on a white background.
If a create a new html the highlight is applied.
Below 2 new html files in my editor
- The one with the black background is on 3.19.6 and as I intend it to be
- The one with the white background is on 3.21.5 and NOT what I want
Both are the same application, using the same code and the same theme files.


Where is the Backward compatibility in this?
This is also annoying for the guides I write as shit keeps changing, how to properly explain things.
Sent with Proton Mail secure email.
| Re: Background and theme files for gb.highlight | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |