Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Syntax / Folding problem?

(1/2) > >>

rickg22:
I downloaded the first SVN install, and i noticed 2 things:

a) Comments aren't highlighted as "comments", they look like source code.

b) if statements need a closing "endif" for the folding to work properly. Brackets don't match anymore.

Any ideas?

rickg22:
I just noticed something VERY STRANGE in the config file (i had to delete it to get the syntax working).

Look:

--- Code: ---        <color_sets>
            <default>
                <set0>
                    <NAME>
                        <str>Lua</str>
                    </NAME>
                   ...
                    <editor>
                         ...
                        <FILEMASKS>
                            <str>*.c,*.cpp,*.cc,*.cxx,*.h,*.hpp,*.hh,*.hxx,*.inl,</str>
                        </FILEMASKS>
                    </editor>
                </set0>
                <set1>
                    <NAME>
                        <str>C_C++</str>
                    </NAME>
                    ---
                        <FILEMASKS>
                            <str>*.gm,</str>
                        </FILEMASKS>
               </set1>
                <set2>
                    <NAME>
                        <str>Hitachi asm</str>
                    </NAME>
                    ...
                        <FILEMASKS>
                            <str>*.s20,</str>
                        </FILEMASKS>
                    </editor>
                </set2>

--- End code ---

The filemasks are all wrong, but show correctly on the Editor configuration dialog. What happened?

[attachment deleted by admin]

Frank3000:
Hello,
here is another pic of strange syntax highlighting:
(Windows XP SP 2, wxWidgets 261, Code::blocks SVN revision 1447)

Frank


[attachment deleted by admin]

mandrav:
Try deleting "C:\Documents and Settings\<username>\Application Data\codeblocks\default.conf".

Frank3000:
that did the trick !
 :D
thank you for the quick help

Navigation

[0] Message Index

[#] Next page

Go to full version