User forums > Help
#define and highlighting
Commaster:
I recently tried to use #define in my wxFrame project and stumbled upon some strange highlighting.
After some investigation I found out, that the "#define" is highlighted with an extra space after it:
Although the "#ifndef" is highlighted properly.
I'm using Ubuntu 13.04 x64, Code::blocks svn 9271.
And I'm using double-click to select words for highlighting.
Jenna:
No such issues here (Fedora 19 x64 svn r9272).
What is your file-encoding and which language-settings dp ypu gave on your system ?
Commaster:
All project files are UTF-8 with CR+LF.
Language settings seems to be English(United States).
Jenna:
Similar settings here.
Can you send me a minimal file which leads to this issue ?
Either attach it here or send it to me via mail to my username at codeblocks dot org.
Commaster:
I created a fresh Frame based project with the name "jensproject", cleaned up the authorinfo and modified the Main.cpp:
line 6.
Update: Reproduced with Dialog based project too.
Navigation
[0] Message Index
[#] Next page
Go to full version