Hi Norman, I cannot help you with Geany, but out of curiosity, what music software is using this file format? And you might be better, using one of these: Sibelius/Finale/Notion6 or an affordable alternative like these bellow. Good luck!Eugene Top Best Free Music Notation Software for Windows 2020
| | | | | |
|
| | | | Top Best Free Music Notation Software for Windows 2020
If you are a music composer and use tech to refine your creations, then these Music notations software and Music... |
|
|
On Sunday, April 19, 2020, 7:07:48 PM EDT, Lex Trotman elextr@gmail.com wrote:
Clearly I am missing something that I am not doing correctly to get the syntax highlighting to work.
Yes. :)
Syntax highlighting is done by the Scintilla (the editing widget, separate project) lexers, not by Geany. The styling just maps the Scintilla syntactic entities to styles, it does not define the entities. The lexers are C++ code, not something that can be defined by users outside the configuration the lexer code allows.
Some lexers allow keyword lists as you have noticed, but thats within the framework of the language being analysed, not to define a whole new language (well, unless your new language is extremely similar).
Then there is the question of where to go for the symbols.
Symbols are defined by parsers imported from the universal ctags project, and those parsers are C code. Because they parse language semantics to get symbols they are much less flexible than the highlighting lexers.
A noddy guide to getting started, with examples would be very useful. Thanks in advance.
There is no example because lexers are not part of the Geany project, they are just imported from Scintilla every time a new version is included. As the manual says you can define a new filetype using an existing lexer, and/or parser, but you can't define a new one without compiling new code.
Cheers Lex
NornB _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users