User forums > General (but related to Code::Blocks)

Standard Header Highlighting

<< < (2/4) > >>

Roman:
Same thing

mandrav:

--- Quote from: Roman on August 05, 2007, 07:25:39 pm ---

--- 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

--- End quote ---

Does the fact that I quoted dmoore give you a hint that maybe I replied to him? He made a specific suggestion and I replied that it's already there :).
For the rest of the things mentioned in this topic, file a feature request.

dmoore:

--- Quote from: mandrav on August 05, 2007, 05:48:03 pm ---Edit->Highlight mode

--- End quote ---

:oops: I've even used this before, but use so infrequently I forgot its existence...


--- Quote from: Roman on August 05, 2007, 03:48:32 pm ---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.

--- End quote ---

Roman: instead of hardcoding a list, how about automatically changing to the C/C++ lexer (or the currently active lexer) if you follow a #include? that should be easy to implement


--- Quote from: rhf on August 05, 2007, 07:49:40 pm ---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.

--- End quote ---

having troubles replicating this. my version doesn't even show a check next to the current lexer. If I open a file without extension it defaults to plain text. I can change to c/c++ but can't change back to text.

anyway, I can work on these issues in the next week or two if someone else wants to put a bug/feature request on berlios.

rhf:

--- Quote from: dmoore on August 06, 2007, 06:28:38 pm ---...I can work on these issues in the next week or two if someone else wants to put a bug/feature request on berlios.

--- End quote ---

Thanks. Bug 011720.

Biplab:

--- Quote from: rhf on August 06, 2007, 07:07:46 pm ---Thanks. Bug 011720.

--- End quote ---

I was about to commit a fix for this bug. But dmoore reported another one and I stopped. ;)


--- Quote from: dmoore on August 06, 2007, 06:28:38 pm ---having troubles replicating this. my version doesn't even show a check next to the current lexer. If I open a file without extension it defaults to plain text. I can change to c/c++ but can't change back to text.

--- End quote ---

Both the bugs are fixed in rev 4353. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version