Bug report on Color Theme/Syntax

Open source general-purpose IDE, lightweight text editor. Previously known as AutoGUI.
User avatar
Nitrateag
Posts: 3
Joined: 30 Aug 2021, 08:35

Bug report on Color Theme/Syntax

Post by Nitrateag » 06 Sep 2021, 05:06

Hello !

I'm using Dark Theme on Adventure IDE, and look's well on AHK files !
But in many other language, the color syntax stay White =(

I found the probleme : There is no 'Monokai' section on these color syntaxe description


in example, for .ini syntax : (\Adventure\Themes\Specifics\IniFile.xml)
i change IniFile.xml from

Code: Select all

<scheme const="PROPS">
    <theme name="Default">
        <style name="Default" v="0" fc="0x000000" bc="" b="0" i="0" />
        <style name="Comment" v="1" fc="0x767676" bc="" b="0" i="1" />
        <style name="Section" v="2" fc="0x880088" bc="" b="1" i="0" />
        <style name="Assignment" v="3" fc="0x0F707F" bc="" b="0" i="0" />
        <style name="DefVal" v="4" fc="0x000000" bc="" b="0" i="0" />
        <style name="Key" v="5" fc="0x0000CF" bc="" b="0" i="0" />
    </theme>
</scheme>
To

Code: Select all

<scheme const="PROPS">
    <theme name="Default">
        <style name="Default" v="0" fc="0x000000" bc="" b="0" i="0" />
        <style name="Comment" v="1" fc="0x767676" bc="" b="0" i="1" />
        <style name="Section" v="2" fc="0x880088" bc="" b="1" i="0" />
        <style name="Assignment" v="3" fc="0x0F707F" bc="" b="0" i="0" />
        <style name="DefVal" v="4" fc="0x000000" bc="" b="0" i="0" />
        <style name="Key" v="5" fc="0x0000CF" bc="" b="0" i="0" />
    </theme>
	
	<theme name="Monokai">
        <style name="Default" v="0" fc="0xE6DB74" bc="" b="0" i="0" />
        <style name="Comment" v="1" fc="0x75715E" bc="" b="0" i="1" />
        <style name="Section" v="2" fc="0xF92672" bc="" b="1" i="0" />
        <style name="Assignment" v="3" fc="0xE6DB74" bc="" b="0" i="0" />
        <style name="DefVal" v="4" fc="0xE6DB74" bc="" b="0" i="0" />
        <style name="Key" v="5" fc="0xA6E22E" bc="" b="0" i="0" />	
	</theme>
</scheme>
(new Monokai section use colors from Monokai AHK dark theme)

And .ini take color ! :rainbow:

So, it "only" remains to redo this for all the other languages =P

User avatar
Alguimist
Posts: 428
Joined: 05 Oct 2015, 16:41
Contact:

Re: Bug report on Color Theme/Syntax

Post by Alguimist » 30 Nov 2021, 15:14

Hello, @Nitrateag! Thanks for the Monokai section for ini files. I have yet to get acquainted with these colors in order to provide the definitions for other programming languages. It's a work in progress.

Post Reply

Return to “Adventure IDE”