Bug 217065

Summary: Opening a file with one long HTML line causes Kate to freeze long
Product: [Applications] kate Reporter: Andreas Pietzowski <andreas>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Pietzowski 2009-12-02 14:56:54 UTC
Version:            (using KDE 4.3.4)
Installed from:    Ubuntu Packages

I set up an example webpage that demonstrates the bug. It is a PHP script that outputs 5000 HTML input-checkboxes next to each other in ONE line. Try to open it with kate, it will take minutes:

http://www.pietzowski.de/longline.php

Now I have a different example where a \n is put right after each input-tag. It's the same HTML content but kate has opened this file in milliseconds:

http://www.pietzowski.de/longline.php?newline

Seems like one long lines freeze Kate.
Comment 1 Milian Wolff 2009-12-02 16:36:35 UTC

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