Page 1 of 1

Request for new Syn file: CSound

Posted: Thu Jan 03, 2008 8:56 pm
by labernache
I am new to this forum, but not new to Textpad which I have used for many years.

I have recently become involved with integrating Perl and CSound files and find myself hindered by not having the extensions for CSound (.sco, .orc, .csd) trigger the benefits of syntax highlighting available in other tool sets like Perl, etc.

I searched the Textpad forums for CSound and got only one hit, which cited a user's requirement to uninstall Textpad or otherwise change the default .sco CSound NotePad association to Textpad.

Has any other user of both Textpad and CSound investigated or written the necessary syntax definition file for employing Textpad in the creation of CSound instrument, ORChestration and SCOre files?

It seems to me that Textpad would be the ideal IDE for CSound support file creation.

Thanks for any replies or directions on how to create the syntax file myself.

Happy New Year,
Labernache

Posted: Fri Jan 04, 2008 11:20 am
by bveldkamp
First create a new document class: Configure | New Document Class, Name it for instance CSound, and set Class Members to *.sco, *.orc, *.csd.

For information about how to create a syntax file, open Help | Contents | Reference Information | Syntax Definition Files, Usually the easiest way is to start by copying an existing syntax file, and modify the list of keywords.