EmbDev.net

Forum: ARM programming with GCC/GNU tools Monokai color theme for em::blocks?


Author: Holla (Guest)
Posted on:

Rate this post
0 useful
not useful
Is there a way for Em::Blocks IDE (http://www.emblocks.org/web/) to load 
editor / syntax highlighting color settings (themes) from file? The GUI 
does not seem to have such option, only manual settings seem available.
I would like to have a dark theme like Monokai 
(http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/).

: Moved by Admin
Author: try_it (Guest)
Posted on:

Rate this post
0 useful
not useful
Try to detect an XML(as you can download by Monokai), which looks like 
syntax highlighting and try to replace it with the Monokai XML.

Author: Holla (Guest)
Posted on:

Rate this post
0 useful
not useful
Custom colors are saved in

C:\Users\<username>\AppData\Roaming\EmBlocks\1.40\default.conf

like this
    <colour_sets>
      <default />
      <monokai>
        <NAME>
          <str>
            <![CDATA[Monokai]]>
          </str>
        </NAME>
        <cc>
          <style0>
            <FORE>
              <colour r="255" g="255" b="255" />
            </FORE>
            <BACK>
              <colour r="0" g="0" b="0" />
            </BACK>
            <NAME>
              <str>
                <![CDATA[Default]]>
              </str>
            </NAME>
          </style0>
          <style7>
            <BACK>
              <colour r="0" g="0" b="0" />
            </BACK>
            <NAME>
              <str>
                <![CDATA[Inactive preprocessor code]]>
              </str>
            </NAME>
          </style7>
          <NAME>
            <str>
              <![CDATA[C/C++]]>
            </str>
          </NAME>
          <editor>
            <keywords />
          </editor>
        </cc>
      </monokai>
      <ACTIVE_COLOUR_SET>
        <str>
          <![CDATA[Monokai]]>
        </str>
      </ACTIVE_COLOUR_SET>
      <ACTIVE_LANG>
        <str>
          <![CDATA[C/C++]]>
        </str>
      </ACTIVE_LANG>
    </colour_sets>

It will require some work to convert 
http://www.monokai.nl/blog/wp-content/asdev/Monokai.tmTheme

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.