Re: [Freedos-user] FTE editor syntax highlighting state machine

2011-07-15 Thread Rugxulo
Hi,

On 7/15/11, Marcos Favero Florence de Barros fav...@mpcnet.com.br wrote:

 Anyone has an explanation of how to use the state machine for
 syntax highlighting in Marko Macek's FTE editor?

 There are some instructions in the DOCs, but not much detail,
 and hardly any examples.

You mean the config file / util or syntax highlighting or ... ? Well,
I don't actively use FTE, so I can't help much (though it's nice).

I assume you want to add syntax highlighting for something (Euphoria???).

 I've learned the basics by trial and error, and by looking into
 the supplied configuration files for different languages, but
 the mechanics of the state machine is not quite clear yet.

That's probably all you can do.   :-(

BTW, what version are you using? I assume rr's DJGPP build (newer than
the official build offered, ironically):

http://fte.sourceforge.net/(old, 2001-2)
http://www.bttr-software.de/ports/(from CVS, 2008)

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FTE editor syntax highlighting state machine

2011-07-15 Thread Rugxulo
Hi again,

On 7/15/11, Marcos Favero Florence de Barros fav...@mpcnet.com.br wrote:

 I assume you want to add syntax highlighting for
 something (Euphoria???).

 I've already done it for Euphoria. It was easy, because there
 were many similar sample config files.

Good to know.   ;-)

 Now I want to do it for the DataPerfect STE file, where  syntax
 highlighting would really help. But  the usual technique did not
 work, perhaps because the keywords have periods in them,  like:
 'BOTTOM.MARGIN', 'CREATE.DISK.FILE', 'END.SUBREPORT.FOR.PANEL'
 and many others.

You may be right about the periods. It's pretty difficult to support
every language syntax, which is why many editors can only halfway do
so (even my favorite TDE, which shares some code with FTE, I think).

 So I'm trying to write the syntax parser, but the logic is not clear to me 
 yet.

Sadly, I haven't used FTE that much, and certainly haven't hacked up
any syntax highlighting myself (yet). Sorry.

 BTW, what version are you using? I assume rr's DJGPP build

 That's right.

Okay, just checking. I assumed it had better examples than older one.

Sorry I can't help more.   :-( Hopefully someone else here (or
maybe rr himself?) knows FTE better.

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user