Noticed something interesting in 4coder 4.0.25, don't know if this stuff has already been fixed in more recent versions.
I'm writing in C so I can't use the raw string literals from C++.
So I have this code to kinda get around that...
| #define STR(x) #x
char *ShaderCode = STR(
#version 330 \n
void main()
{
// Some shader code
}
);
|
Some things I noticed.
-Indenting a single line with "auto_tab_line_at_cursor" formats the code just like a regular block of code which is exactly what I'd want.
-Indenting a range with "auto_tab_range" formats the code by removing all the spaces at the start of each line.
-The "\n" is highlighted red even though this is completely legal.