Sebastian Pipping wrote:
-- intro ---------------------------------------------------
i am writing a lexer for the functional language "OPAL".
the lexer itself is 80% done but i got a little problem with
integrating it to SciTE.

Good.

-- details ---------------------------------------------------
when opening an existing *.impl file it gets highlighted as
expected but clicking the menu entry for Opal in "Language"
switches to something looking like plain "Text" mode instead.

i ran these scripts:
* scintilla/include/HFacer.py
* scintilla/src/LexGen.py
* scite/scripts/IFaceTableGen.py

i added these three lines to SciTEGlobal.properties:
* $(filter.opal)\
* Opal|opal||\
* import opal

i guess there is an easy solution to this. what am i doing wrong?

The second entry in the

Opal|opal||

line should be one of your supported extensions (e.g., c for the c/c++ lexer), not your lexer name.

also i would like to integrate my lexer into scintilla when
it is done. whom should i send the files to? or could i have
developer cvs access please?

Ideally, you would make sources and possibly a SciLexer.dll including your lexer available for download, and hopefully get some feedback from others testing it... in any case, when you think it is ready, post the sources and say so on this list.

Also, if you haven't already, you might pull the [Scintilla] source tree and examine some of the more recently updated lexers, to verify that you are following some existing style (or combination)... or not.

if this was the wrong place for my questions please point me
to the right place.

You came to the right place! :)

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to