Edit: Starting from v5.00 there is support for multiple themes. See this post for more information: https://www.b4x.com/android/forum/threads/themes-and-fonts-in-5-0.54338/#post-340927
Last edited:
Currently the background property doesn't affect the printer. I will check it for the next version.Could you print directly onto black and white? The print driver does not show certain words that are white in the code.
<Styles>
<Style Key="IdeBackground" ForeColor="#002b36"/>
<Style Key="ContentDivider" ForeColor="ControlDark"/>
<Style Key="LineNumber" ForeColor="#586e75" />
<Style Key="ToolTipBackground" ForeColor="Info" />
<Style Key="ToolTipDefaultStyle" ForeColor="Black" />
<Style Key="DefaultStyle" ForeColor="#839496"/>
<Style Key="GlobalVariablesStyle" ForeColor="#268BD2"/>
<Style Key="ReservedWordStyle" ForeColor="#719A07" />
<Style Key="NumberStyle" ForeColor="#2AA198" />
<Style Key="TypeWordStyle" ForeColor="#B58900" />
<Style Key="StringDefaultStyle" ForeColor="#2AA198" />
<Style Key="CommentDefaultStyle" ForeColor="#586e75" />
<Style Key="SelectionHighlight" ForeColor="#586e75" />
<Style Key="ReferenceHighlight" ForeColor="#00FFEF" />
<Style Key="UndeclaredIdentifier" ForeColor="#DC322F"/>
<Style Key="Annotation" ForeColor="#839496" />
<Style Key="PreProcessorDirectiveKeywordStyle" Name="Pre-Processor Directive Keyword" ForeColor="#CB4B16" />
</Styles>
<!-- Highlighting Styles -->
<Styles>
<Style Key="IdeBackground" ForeColor="White"/>
<Style Key="ContentDivider" ForeColor="ControlDark"/>
<Style Key="LineNumber" ForeColor="ControlDark" />
<Style Key="ToolTipBackground" ForeColor="Yellow" />
<Style Key="ToolTipDefaultStyle" ForeColor="Black" />
<Style Key="DefaultStyle" ForeColor="Black"/>
<Style Key="GlobalVariablesStyle" ForeColor="#6600CC"/>
<Style Key="ReservedWordStyle" ForeColor="DarkBlue" Bold="True" />
<Style Key="NumberStyle" ForeColor="Maroon" />
<Style Key="TypeWordStyle" ForeColor="DarkCyan" Bold="True" />
<Style Key="StringDefaultStyle" ForeColor="Green" />
<Style Key="CommentDefaultStyle" ForeColor="ControlDark" Italic="True" />
<Style Key="SelectionHighlight" ForeColor="PaleTurquoise" />
<Style Key="ReferenceHighlight" ForeColor="#00FFEF" />
<Style Key="UndeclaredIdentifier" ForeColor="Red" Bold="True" />
<Style Key="Annotation" ForeColor="#FF6103" />
<Style Key="PreProcessorDirectiveKeywordStyle" Name="Pre-Processor Directive Keyword" ForeColor="#FF6103" />
</Styles>
<Styles>
<Style Key="IdeBackground" ForeColor="Black"/>
<Style Key="ContentDivider" ForeColor="ControlDark"/>
<Style Key="LineNumber" ForeColor="White" />
<Style Key="ToolTipBackground" ForeColor="Info" />
<Style Key="ToolTipDefaultStyle" ForeColor="White" />
<Style Key="DefaultStyle" ForeColor="DarkOrchid"/>
<Style Key="GlobalVariablesStyle" ForeColor="Orange"/>
<Style Key="ReservedWordStyle" ForeColor="White" />
<Style Key="NumberStyle" ForeColor="Purple" />
<Style Key="TypeWordStyle" ForeColor="White" />
<Style Key="StringDefaultStyle" ForeColor="LightSteelBlue" />
<Style Key="CommentDefaultStyle" ForeColor="Green" />
<Style Key="SelectionHighlight" ForeColor="PaleTurquoise" />
<Style Key="ReferenceHighlight" ForeColor="Aqua" />
<Style Key="WarningColor" ForeColor="YellowGreen" />
<Style Key="ErrorColor" ForeColor="Red" />
<Style Key="UndeclaredIdentifier" ForeColor="Red" />
<Style Key="Annotation" ForeColor="OrangeRd" />
<Style Key="PreProcessorDirectiveKeywordStyle" Name="Pre-Processor Directive Keyword" ForeColor="White" />
</Styles>
It should be the Annotation key. OrangeRd looks like an invalid color value.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?