Hi all!
I'm coding C/C++ with codeblocks for some years now, but with growing code I'am missing the possibility to highlight embedded code.
In this case I have embedded SQL strings in the code and for copy and paste reasons I have enclosed them into a MULTI_LINE_STRING() define.
bool sqladapter::get_cars(session& sql)
{
sql << MULTI_LINE_SQL(
SELECT * FROM cars;
);
}
My target is now to highlight everything between the brackets (the SQL code), maybe with a different background color or something similar.
I've seen and tested the scintilla highlight options, having matching brackets in every color I like, I have highlighted the "MULTI_LINE_SQL" keyword, but what about the part between the brackets
?
Any ideas (or is it so simple, that I've missed it) ?
Thanks in advance!