Re: [Anjuta-list] syntax highlight



Thank You for answer.
Unfortunately on gtksourceview.sf.net i couldynt find
much information
I've some more question.

1) Structure of *.properties file? ( i will use
asm.properties as example ). What means:

file.is.source.$(file.patterns.asm)=1

comment.block.asm=;

statement.indent.$(file.patterns.asm)=9 .if

statement.end.$(file.patterns.asm)=9 .endif



# Assembler Styles

style.asm.32=fore:#808080,font:Verdana,size:8

# Default

style.asm.0=$(style.default.whitespace)

# Comment

style.asm.1=$(style.default.comment)

#$(colour.code.comment.line),font:Comic Sans MS,size:8

# Number

style.asm.2=$(style.default.number)

# String

style.asm.3=$(style.default.singlequote)

# Operator

style.asm.4=$(style.default.operator)

# Identifier

style.asm.5=$(style.default.identifier)

# CPU instruction

style.asm.6=$(style.default.keyword)

#fore:#0000ff

# FPU instruction

style.asm.7=$(style.default.localkeyword)

# Register

style.asm.8=$(style.default.syskeyword)

# assembler Directive

style.asm.9=$(style.default.preprocessor)


Of course on right side of equations, are internal
Anjuta variables but what for example means numbers in
style.asm.#, and how they are connected with
LexAsm.cxx ? ( comment.block.asm=; means comment for
nasm/masm if i want to use gas i would put #, but to
makes it work I have to make changes in LexAsm.cxx)

2) I if i create gas.properties file, to force Anjuta
to use it i have to change anjuta.properties ( i learn
it by reading this files but i couldn't find it in any
manual ). Is there any other file i have to change to
every thing work fine?

3) Structure Lex*.cxx is quite well explained on
www.scintilla.org, but if i create LexGas.cxx and make
some changes in 'makefile' its enough to compile
altogether, or there are other files i have to
change,and what should i change?

Sorry for all this questions , but i realy like
Anjuta, connection with debugger, ways of output, and
speed, and i want to prepare this tool for my self.
Unfortunately i don't have enough time to read source
of editor  ( that would explain many things :) )
that's why i'm asking.

Regards
Lukas
--- Johannes Schmid <johannes schmid gmx de> wrote:

> Hi!
> 
> Depends on the editor you are using:
> 
> For the scintilla editor, see www.scintilla.org
> For the gtksourceview editor, see
> gtksourceview.sf.net
> 
> In any case, please send the new lexer to the
> maintainers of the editors
> first, we will integrate them in anjuta once they
> are upstream.
> 
> Regards,
> Johannes
> 
> Lukas schrieb:
> > Hi.
> > I want to write my own lexer ( first for gas ) for
> > Anjuta. Where could i find FULL manual how to do
> this
> > ( step by step, in what files should i make
> changes
> > etc.). Have I all the time compile anjuta with
> another
> > lex files ?
> > 
> > Regards
> > Lukas
> > 
> > 
> >        
> >
>
____________________________________________________________________________________
> > Looking for a deal? Find great prices on flights
> and hotels with Yahoo! FareChase.
> > http://farechase.yahoo.com/
> > 
> >
>
-------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?
>  Stop.
> > Now Search log events and configuration files
> using AJAX and a browser.
> > Download your FREE copy of Splunk now >> 
> http://get.splunk.com/
> > _______________________________________________
> > Anjuta-list mailing list
> > Anjuta-list lists sourceforge net
> >
>
https://lists.sourceforge.net/lists/listinfo/anjuta-list
> > 
> 
> 



       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]