News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

lexer_masm.xml

Started by BlinK_, September 14, 2008, 11:59:23 AM

Previous topic - Next topic

BlinK_

Hello.

I noticed that codeblocks doesn't highlight assembler code. So I figured its missing lexer_masm.xml file. Where can I get it?

I have searched so many places, but I have not found one.

Thanks.

MortenMacFly

Checkout the appropriate sources from SVN. You can also install 08/02 where this lexer is included. But then make sure you select the lexer from the installer's options.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

BlinK_

I downloaded this file: http://prdownload.berlios.de/codeblocks/codeblocks-8.02mingw-setup.exe But I found no lexer_masm.xml when installed it.

MortenMacFly

Remember:
Quote from: MortenMacFly on September 14, 2008, 02:40:24 PM
But then make sure you select the lexer from the installer's options.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

BlinK_

Ah. I see now.

The installer was a little bit confusing to me. That grey tick seems to tell, that everything is selected and you cant change anything. I am more used to green square when not everything is selected in that category.

Thank you very much!

MortenMacFly

Quote from: BlinK_ on September 18, 2008, 09:45:40 AM
I am more used to green square when not everything is selected in that category.
Oh dear, I see... Well - we have no choice here. If we do it the other way users used to a greyed checkbox will complain. Sorry, but all I can say is: Please read and try.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]