<?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>143022</bug_id>
          
          <creation_ts>2007-03-15 20:52:59 +0000</creation_ts>
          <short_desc>Combined PHP and HTML confuses folding</short_desc>
          <delta_ts>2007-12-03 00:31:29 +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>openSUSE</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="Rolf Eike Beer">kde</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>515335</commentid>
    <comment_count>0</comment_count>
    <who name="Rolf Eike Beer">kde</who>
    <bug_when>2007-03-15 20:52:59 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.5.6)
Installed from:    SuSE RPMs
OS:                Linux

Put this in Kate in PHP mode

-----
&lt;?php

function abc()
{		// fold here
?&gt;
abc
&lt;?php
}
?&gt;
-----

Folding at the specified point make the rest of the file disappear. Maybe switching between PHP and HTML mode and back doesn&apos;t work?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>559749</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Friedrichsmeier">thomas.friedrichsmeier</who>
    <bug_when>2007-12-03 00:29:08 +0000</bug_when>
    <thetext>SVN commit 744206 by tfry:

Workaround to make bug #143022 less severe (complete fixing depends on feature #103257
CCBUG: 143022

 M  +11 -5     php.xml  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=744206
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>559751</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Friedrichsmeier">thomas.friedrichsmeier</who>
    <bug_when>2007-12-03 00:31:29 +0000</bug_when>
    <thetext>Ok, the above commit should make the problem less severe. This is done by making sure to close all folding regions when encountering a &quot;?&gt;&quot;. However, this is not quite the desired behavior, yet, which is described in bug #103257.

Marking this report as a duplicate of that.

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

    </bug>

</bugzilla>