Do you plan to improve TheIDE as well?
Klugier wrote on Sun, 16 April 2017 14:41Do you plan to improve TheIDE as well?
No
class CSyntaxOptions { public: int lang = 0; bool SlashBlockComments = false; bool SlashLineComment = false; bool PoundLineComment = false; bool PoundHexa = false; bool DashInId = false; bool CapitalizeId = false; bool Macros = false;
CSyntaxOptions newLang = CSyntax::GetSyntaxDesc(CSyntax::HIGHLIGHT_CPP); newLang.SlashBlockComments = false; // remove /* */ comments newLang.SlashLineComment = false; // remove // comments newLang.PoundLineComment = true; // the new way to comment is # newLang.DashInId = true; // still C++, but a-b is a valid identifier newLang.Keywords << "event"; newLang.MacroList << "beginregion" << "endregion"; RegisterCSyntax("foo", newLang, "*.foo", "Best language");