Feature Requests item #1208127, was opened at 2005-05-24 23:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=352439&aid=1208127&group_id=2439

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Georg Ritter (rittger)
Assigned to: Nobody/Anonymous (nobody)
Summary: Lexer for Csound Orchestra/Score files

Initial Comment:
Hello,

I was looking into syntax highlighting for Csound
orchestra and score files. (more infos on Csound can be
found here: http://www.csounds.com)

I created a simple Lexer file for Csound. It's main
capability is lexing of keywords, instrument parameters
(p1,p2 etc) and separate states for A-Rate, K-Rate and
I-Rate variables.
It also supports folding of instruments.

So far it works fine for me, and it is pretty simle. Is
it possible to include this into the next official
version of scintilla? I think it could be useful since
there are not that many dedicated Csound editors around.
I plan to use the Csound lexer via the
wxStyledTextControl in a future Python project.

Attached is a tarball containing a LexCsound.cxx as
well as my modified Scintilla.iface. It also includes a
csound.properties and the other files I modified for scite.
(All files are based on scintilla/scite 1.63)

The opcode keyword list in the properties includes all
opcodes of Csound versions up to 4.24.

Note that I have deliberately switched on mono-spaced
fonts in the properties files since this makes editing
a lot easier (especially score files).

If you think the Lexer or coloring scheme could (or
should be improved) before submitting, please let me know.

In anyway, thanks for your great work on scintilla!

Kind regards,

Georg Ritter

<ritterfuture A T gmail D O T com>

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=352439&aid=1208127&group_id=2439
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to