Android Question [B4A v5] Customize the code editor

vecino

Well-Known Member
Licensed User
Hello, I not find the B4A.xml file for customize the colors of the editor.
Where is he now?
 

RandomCoder

Well-Known Member
Licensed User
It's changed from previous versions, I think its in a folder called Themes in the install folder of V5. I seem to recall that somewhere here it was stated that the theme file is now compatible with Visual Studio theme files. Here's what the dark.vssettings file contents look like...

B4X:
<UserSettings>
    <ApplicationIdentity version="10.0"/>
    <ToolsOptions>
        <ToolsOptionsCategory name="Environment" RegisteredName="Environment"/>
    </ToolsOptions>
    <Category name="Environment_Group" RegisteredName="Environment_Group">
        <Category name="Environment_FontsAndColors" Category="{1EDA5DD4-927A-43a7-810E-7FD247D0DA1D}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_FontsAndColors" PackageName="Visual Studio Environment Package">
            <PropertyValue name="Version">2</PropertyValue>
            <FontsAndColors Version="2.0">
                <Categories>
                    <Category GUID="{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}" FontIsDefault="Yes">
                        <Items>
                           
                            <Item Name="Collapsible Text" Foreground="0x00808080" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Collapsible Region" Foreground="0x00303030" Background="0x00232323" BoldFont="No"/>
                            <Item Name="Delimiter Matching" Foreground="0x02000000" Background="0x00aaaaaa" BoldFont="No"/>
                            <Item Name="Current Line" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Current Statement" Foreground="0x02000000" Background="0x0008637d" BoldFont="No"/>
                            <Item Name="Find Match Highlight" Foreground="0x02000000" Background="0x00003877" BoldFont="No"/>
                            <Item Name="Indentation Guides" Foreground="0x02000000" Background="0x00333333" BoldFont="No"/>
                            <Item Name="Indicator Margin" Foreground="0x02000000" Background="0x00333333" BoldFont="No"/>
                            <Item Name="Line Numbers" Foreground="0x00AF912B" Background="0x001E1E1E" BoldFont="No"/>
                            <Item Name="Track Changes Before Save" Foreground="0x02000000" Background="0x0054b2af" BoldFont="No"/>
                            <Item Name="Track Changes After Save" Foreground="0x02000000" Background="0x00307457" BoldFont="No"/>
                            <Item Name="Outlining Margin Square" Foreground="0x00E2E2E2" Background="0x00000000" BoldFont="No"/>
                            <Item Name="Outlining Margin Vertical Rule" Foreground="0x00A5A5A5" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Plain Text" Foreground="0x00C8C8C8" Background="0x001E1E1E" BoldFont="No"/>
                            <Item Name="Saved Changes Mark" Foreground="0x02000000" Background="0x00307457" BoldFont="No"/>
                            <Item Name="Unsaved Changes Mark" Foreground="0x02000000" Background="0x0084f2ef" BoldFont="No"/>
                            <Item Name="Visible Whitespace" Foreground="0x00524814" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Code Snippet Field" Foreground="0x02000000" Background="0x00555555" BoldFont="No"/>
                           
                            <Item Name="Comment" Foreground="0x007B7466" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Identifier" Foreground="0x00C8C8C8" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Unknown Identifier" Foreground="0x004444AA" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Number" Foreground="0x0022CDFF" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Operator" Foreground="0x00B7E2E8" Background="0x02000000" BoldFont="No"/>
                            <Item Name="String" Foreground="0x000076EC" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Keyword" Foreground="0x0063C793" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Preprocessor Keyword" Foreground="0x00BD82A0" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Global Variable" Foreground="0x00B48C8C" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Annotation" Foreground="0x00E4E2E0" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Type" Foreground="0x00B18C67" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Excluded Code" Foreground="0x00616161" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Selection Highlight" Foreground="0x00FFFFFF" Background="0x00777777" BoldFont="No"/>
                            <Item Name="Search Result" Foreground="0x02000000" Background="0x00aaaaaa" BoldFont="No"/>
                            <Item Name="Syntax Error" Foreground="0x000000FF" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Warning" Foreground="0x0022CDFF" Background="0x02000000" BoldFont="No"/>
                            <Item Name="Underline Word" Foreground="0x00FF0000" Background="0x02000000" BoldFont="No"/>
                           

                        </Items>
                    </Category>
                </Categories>
            </FontsAndColors>
        </Category>
    </Category>
</UserSettings>
 
Top