Monokai color theme for em::blocks?

Guest #3557471
Rate this post
• ▲ 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/).
Guest #3558813
Rate this post
• ▲ useful
▼ not useful
Custom colors are saved in

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

like this
1
    <colour_sets>
2
      <default />
3
      <monokai>
4
        <NAME>
5
          <str>
6
            <![CDATA[Monokai]]>
7
          </str>
8
        </NAME>
9
        <cc>
10
          <style0>
11
            <FORE>
12
              <colour r="255" g="255" b="255" />
13
            </FORE>
14
            <BACK>
15
              <colour r="0" g="0" b="0" />
16
            </BACK>
17
            <NAME>
18
              <str>
19
                <![CDATA[Default]]>
20
              </str>
21
            </NAME>
22
          </style0>
23
          <style7>
24
            <BACK>
25
              <colour r="0" g="0" b="0" />
26
            </BACK>
27
            <NAME>
28
              <str>
29
                <![CDATA[Inactive preprocessor code]]>
30
              </str>
31
            </NAME>
32
          </style7>
33
          <NAME>
34
            <str>
35
              <![CDATA[C/C++]]>
36
            </str>
37
          </NAME>
38
          <editor>
39
            <keywords />
40
          </editor>
41
        </cc>
42
      </monokai>
43
      <ACTIVE_COLOUR_SET>
44
        <str>
45
          <![CDATA[Monokai]]>
46
        </str>
47
      </ACTIVE_COLOUR_SET>
48
      <ACTIVE_LANG>
49
        <str>
50
          <![CDATA[C/C++]]>
51
        </str>
52
      </ACTIVE_LANG>
53
    </colour_sets>

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

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.