Bug 125604

Summary: Collapsing code/text in editor (PHP)
Product: [Applications] kate Reporter: Børge Holen <borge>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

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 ***