<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>124362</bug_id>
          
          <creation_ts>2006-03-27 15:23:14 +0000</creation_ts>
          <short_desc>collapse code between precompiler #if #endif</short_desc>
          <delta_ts>2007-10-16 21:42:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kate</product>
          <component>syntax</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stefan G">partyheld</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>1</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>425258</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan G">partyheld</who>
    <bug_when>2006-03-27 15:23:14 +0000</bug_when>
    <thetext>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&apos;s not possible to collapse precompiler commands, it would be a nice feature to add that for if and else statements :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>550160</commentid>
    <comment_count>1</comment_count>
    <who name="Sebastian Pipping">webmaster</who>
    <bug_when>2007-10-16 21:42:21 +0000</bug_when>
    <thetext>SVN commit 725983 by sping:

Fixes for C/C++ highlighters:
- Recogize comments after #define (#108370)
- Folding for for all proprocessor conditionals (only for &quot;#if 0&quot; 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&amp;revision=725983
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>