<?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>125604</bug_id>
          
          <creation_ts>2006-04-14 23:02:22 +0000</creation_ts>
          <short_desc>Collapsing code/text in editor (PHP)</short_desc>
          <delta_ts>2007-12-07 16:20:38 +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>part</component>
          <version>unspecified</version>
          <rep_platform>Debian testing</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>103257</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Børge Holen">borge</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>431052</commentid>
    <comment_count>0</comment_count>
    <who name="Børge Holen">borge</who>
    <bug_when>2006-04-14 23:02:22 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.4.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

When entering a code/text and inside an if statement stop the php engine and start right before an another statement eg
elseif, the collapse function halts. I thought I had a cure, but found out a way to kill that one to.
This litte code will not collapse correct as this little code will show:

elseif($id){
   ?&gt;
   sometext
   &lt;?php
}elseif(!$id){
   echo &quot;zaft suse&quot;;
}

It will collapse all the way down. and not end with the elseif. 
I started the engine a few lines further up my code and it started working again:

&lt;?php echo &quot;
	&lt;/tbody&gt;
	&lt;/table&gt;
	&lt;/form&gt;
	&quot;;
}elseif($id){

but a try to reproduce this with some other text failed for some reason...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>431053</commentid>
    <comment_count>1</comment_count>
    <who name="András Manţia">amantia</who>
    <bug_when>2006-04-14 23:05:31 +0000</bug_when>
    <thetext>Please check if the behavior is same in Kate or not.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432430</commentid>
    <comment_count>2</comment_count>
    <who name="Børge Holen">borge</who>
    <bug_when>2006-04-19 23:10:06 +0000</bug_when>
    <thetext>On Friday 14 April 2006 23:05, AndrÃ¡s ManÅ£ia wrote:
[bugs.kde.org quoted mail]
Kate behaves just the same way, with error.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>561101</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Friedrichsmeier">thomas.friedrichsmeier</who>
    <bug_when>2007-12-07 16:20:38 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 103257 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>