Bug 143022 - Combined PHP and HTML confuses folding
Summary: Combined PHP and HTML confuses folding
Status: RESOLVED DUPLICATE of bug 103257
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-15 20:52 UTC by Rolf Eike Beer
Modified: 2007-12-03 00:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer 2007-03-15 20:52:59 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    SuSE RPMs
OS:                Linux

Put this in Kate in PHP mode

-----
<?php

function abc()
{		// fold here
?>
abc
<?php
}
?>
-----

Folding at the specified point make the rest of the file disappear. Maybe switching between PHP and HTML mode and back doesn't work?
Comment 1 Thomas Friedrichsmeier 2007-12-03 00:29:08 UTC
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&revision=744206
Comment 2 Thomas Friedrichsmeier 2007-12-03 00:31:29 UTC
Ok, the above commit should make the problem less severe. This is done by making sure to close all folding regions when encountering a "?>". 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 ***