Bug 125604 - Collapsing code/text in editor (PHP)
Summary: Collapsing code/text in editor (PHP)
Status: RESOLVED DUPLICATE of bug 103257
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-14 23:02 UTC by Børge Holen
Modified: 2007-12-07 16:20 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 Børge Holen 2006-04-14 23:02:22 UTC
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){
   ?>
   sometext
   <?php
}elseif(!$id){
   echo "zaft suse";
}

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:

<?php echo "
	</tbody>
	</table>
	</form>
	";
}elseif($id){

but a try to reproduce this with some other text failed for some reason...
Comment 1 András Manţia 2006-04-14 23:05:31 UTC
Please check if the behavior is same in Kate or not.
Comment 2 Børge Holen 2006-04-19 23:10:06 UTC
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.
Comment 3 Thomas Friedrichsmeier 2007-12-07 16:20:38 UTC

*** This bug has been marked as a duplicate of 103257 ***