Le 04/07/2016 08:34, adamn...@gmail.com a écrit : > I am totally lost with this one :-( > > Given I have a custom IDE highlighting theme saved as a file in my home dir. > Say "bb.gambas.theme". > > Now I want to apply that same highlighting scheme to an editor control in > some gui project. > > How do I go about this? As I said - totally lost. > > tia > Bruce >
The "theme" files are internal to the IDE. So you must do that on your own, by taking some code from the IDE sources. To modify an editor highlighting style, you must use the syntax: With hEditor.Styles[Highlight.XXX] .Color = ... .Bold = ... .Underline = ... End With Where Highlight.XXX is a constant defining which style you want to modify. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user