syntax highlighting for assembly and python

Discussion about CodeLite development process and patches
samueldotj
CodeLite Curious
Posts: 5
Joined: Fri Aug 08, 2008 9:11 am
Contact:

syntax highlighting for assembly and python

Post by samueldotj »

I have been using these files for sometime, thought of sharing it.
Eran can you include these files with the next release ?

Thanks
samuel
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: syntax highlighting for assembly and python

Post by eranif »

Thanks for that!

I added them to SVN.

One thing:
codelite comes in two themes: default / black

I took the Python lexer and modified it a bit to fit into the black theme, but since I dont have any assembly code, I could not do the same for it.

I attached the lexer.
To install it, copy it to C:\Program Files\CodeLite\lexers\BlackTheme\ and restart codelite

Eran
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread
samueldotj
CodeLite Curious
Posts: 5
Joined: Fri Aug 08, 2008 9:11 am
Contact:

Re: syntax highlighting for assembly and python

Post by samueldotj »

Thanks for adding those files.

I modified the assembly lexer to fit into the black theme and attached the file. I am not big fan of black theme, so let me know if more color tweaking is needed.

samuel
You do not have the required permissions to view the files attached to this post.
wuffe
CodeLite Enthusiast
Posts: 27
Joined: Wed Jun 24, 2009 12:41 pm
Contact:

Re: syntax highlighting for assembly and python

Post by wuffe »

eranif wrote:
I added them to SVN.

Eran
Since CodeLite is a multiplatform IDE and editor I would sugest that the lexel_asm.xml are renamed to something more describing the actual cpu instructionset architecture such as "lexer_asm-x86.xml"

I'm currently experimenting on highlighter/lexers for MOS-6502, Motorola-68000, SPARC and ARM assembly language - when they are done - I'll submit them here...
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: syntax highlighting for assembly and python

Post by eranif »

wuffe wrote:Since CodeLite is a multiplatform IDE and editor I would sugest that the lexel_asm.xml are renamed to something more describing the actual cpu instructionset architecture such as "lexer_asm-x86.xml"
Indeed, a good point :)

Eran
Make sure you have read the HOW TO POST thread
Post Reply