Bug 124362 - collapse code between precompiler #if #endif
Summary: collapse code between precompiler #if #endif
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist with 1 vote (vote)
Target Milestone: ---
Assignee: KWrite Developers
Depends on:
Reported: 2006-03-27 15:23 UTC by Stefan G
Modified: 2007-10-16 21:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Stefan G 2006-03-27 15:23:14 UTC
Version:           2.5.1 (using KDE 3.5.1, Kubuntu Package 4:3.5.1-0ubuntu0breezy1 )
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release

In my code I use

#ifdef DEBUG
   // code...

often, I noticed that it's not possible to collapse precompiler commands, it would be a nice feature to add that for if and else statements :)
Comment 1 Sebastian Pipping 2007-10-16 21:42:21 UTC
SVN commit 725983 by sping:

Fixes for C/C++ highlighters:
- Recogize comments after #define (#108370)
- Folding for for all proprocessor conditionals (only for "#if 0" before) (#124362)
- Folding for multi-line comments was missing in C++ highlighter
- Error marking for preprocessor lines not in #(define|elif|else|endif|if|ifdef|ifndef|include)
- Sync notice added
- Version number incremented to same value
BUG: 108370
BUG: 124362
CCMAIL: webmaster@hartwork.org

 M  +35 -10    c.xml  
 M  +37 -11    cpp.xml  

WebSVN link: http://websvn.kde.org/?view=rev&revision=725983