Bug 124362

Summary: collapse code between precompiler #if #endif
Product: [Applications] kate Reporter: Stefan G <partyheld>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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 2.6.15.6

In my code I use

#ifdef DEBUG
   // code...
#endif

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