0

I am trying to make an IDE of the language PAWN.

I am using the ICSharp in C# for Syntax Highlighting. Since PAWN is not already there in scintilla, can someone tell me how to create custom syntax highlighting?

Here are the keywords

assert char #assert const break defined #defined enum case sizeof #else forward continue state #elseif native default tagof #emit new do #endif operator else #endinput public exit #endscript static for #error stock goto #file if #if return #include sleep #line state #pragma switch #section while #tryinclude #undef

1 Answer 1

1

You should first check if jEdit supports that language,

https://docs.lextudio.com/blog/tritonmate-words-syntax-highlighting-for-smi-mib-efe99ad93af2

If jEdit supports it, you can easily convert the jEdit grammar file to the style SharpDevelop TextEditor expects.

If there is none in jEdit, it is not too hard to write your own according to

https://github.com/icsharpcode/SharpDevelop/wiki/Syntax-highlighting

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.