User forums > General (but related to Code::Blocks)
Standard Header Highlighting
Roman:
Dear guys!
The C++ standard library is a great place to learn good programming techniques. Because of that I often use "open #include fie 'streambuf'" command in the rightclick menu. But <streambuf> has no extension and C::B doesn't use appropriate syntax highlighting scheme. So my suggestion is to 'hardcode' the names of new style standard C++ library header files so they will be highlighted as C++ by default.
Best Regards,
Roman
dmoore:
another way would give users the option to change the lexer of any open editor (a la Scite)
mandrav:
--- Quote from: dmoore on August 05, 2007, 04:52:29 pm ---another way would give users the option to change the lexer of any open editor (a la Scite)
--- End quote ---
Edit->Highlight mode
Roman:
--- Quote ---Edit->Highlight mode
--- End quote ---
<iostream>
<istream>
<ios>
<ostream>
<ios>
When travelling from top to <ios> content I usually use Edit->Highlight mode but it would be more comfortable not to do so )
Best Regards,
Roman
rhf:
--- Quote from: mandrav on August 05, 2007, 05:48:03 pm ---Edit->Highlight mode
--- End quote ---
Hmm, interesting. When I open a standard C++ header with no file extension, there is no syntax highlighting.
Edit->Highlight mode shows the list with C/C++ selected. Reselecting C/C++ or closing the menu has no effect.
However, if I Edit->Highlight mode and select, say, Batch, highlighting appears.
Then I can Edit->Highlight mode and select C/C++ and get the desired syntax highlighting.
This does not seem correct. Am I missing a refresh command or something?
Windows XP, Nightly SVN 4338.
Navigation
[0] Message Index
[#] Next page
Go to full version