Thanks for replying.
I write code in a language that is not well known and no code editor has built-in syntax for that. It’s called Calculation Scripts for Hyperion Planning. So, I want to create my own Syntax Highlighting using Sublime. I just need two kinds of highlighting parameters i.e Operators and Delimiters.
Operator is hardcoding a word in syntax so that where ever that word appears in code, it is highlighted in its respective format. For example, CurryrM2 CurryrM1 Curryr &Budyr &BudyrP1 BudyrP2 BudyrP3 are hardcoded to be highlighted if appear anywhere in code.
Delimiters are like pair of two characters and everything inside them. For example, I define a pair of delimiters as “{” and “}” anything that comes between these middle brackets will be highlighted in its respective format i.e {variable}. If delimiters are “set” and “;” then the highlighting text could be anything between these two delimiters i.e set createnonmissingblk on;
I can highlight my coding language just based on above two parameters. If you could help me to write a basic syntax definition with just one operator and one pair of delimiters then I will add all my needed operators and delimiters myself later on.
Before I was using Windows and I could do this very easily using Notepad++. I wanted to share the screenshot of Notepad++ showing I use Operators and Delimiters there to make syntax highlighting but I don’t see attachment option here in forum. Notepad++ is not available in Macbook so I’m looking for alternative code editors where this basic syntax highlighting feature is available. you can also see the screenshot of Notepad++ at below link:
Thanks again.