R: [Mapserver-users] How to create a new Scite lexer?

Daniele Margotti margottid at comune.lugo.ra.it
Thu Jun 24 22:58:25 PDT 2004


To set the ruby lexer when openning .map files you can select (in
SciTE):

"Options" ==> "Open ruby.properties"

and then change the first lines from: 

--------------------------------------------------
filter.ruby=Ruby (rb)|*.rb|

lexer.*.rb=ruby

file.patterns.rb=*.rb
--------------------------------------------------

to:

--------------------------------------------------
filter.ruby=Ruby (rb)|*.rb;*.map|

lexer.*.rb=ruby
lexer.*.map=ruby

file.patterns.rb=*.rb;*.map
--------------------------------------------------

	Daniele


-----Messaggio originale-----
Da: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] Per conto di Eduardo
Patto Kanegae
Inviato: giovedì 24 giugno 2004 23.05
A: scite-interest at lyra.org; mapserver-users at lists.gis.umn.edu
Oggetto: [Mapserver-users] How to create a new Scite lexer?


Hi all.

I've been using SciTE for the last 5 years to edit text, php, .ini, 
html, javascript and a lot of others.

But the most of my use with SciTE is to edit MapServer MapFiles ( .map 
files - see info at http://mapserver.gis.umn.edu )

the best lexer I found in SciTE to open mapfiles is "Ruby" lexer. which 
fits very well with all reserved words and string of a mapfile sintax.
this lexer can also take advantage of folding/collapse feature with 
mapfiles.

but, I'd like to know if is possible to set SciTE to automaticaly set 
the ruby lexer when openning .map files or where I can get more 
information for creating a lexer for mapfiles using SciTE editor?

thanks in advance.

-- 
Eduardo Patto Kanegae
http://www.consultoria.eti.br
UIN: 303747254

Treinamento em UMN MapServer -
http://www.consultoria.eti.br/ptbr/?menuoption=mapserver
I Encontro Nacional de Usuários MapServer -
http://mapserver.cttmar.univali.br/encontro2004
Fórum MapServer Brasil - http://mapserver.cttmar.univali.br/forum

***Fim da Mensagem / End of Message ***

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users






More information about the MapServer-users mailing list