Summary: | inefficient replace with long lines | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Christopher Yeleighton <giecrilj> |
Component: | kwrite | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | cullmann |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Replace text in this file |
Long line problem :/ We now auto-break such lines on open, which helps with speed but is not really what you want I guess. Therefore lets dupe that with a wish to have better speed for long lines. *** This bug has been marked as a duplicate of bug 145686 *** |
Created attachment 51980 [details] Replace text in this file Version: unspecified (using KDE 4.4.4) OS: Linux Kate takes a long time to perform replacements inserting line breaks into a long line. Reproducible: Always Steps to Reproduce: 1. Open the attachment "offending.sh". 2. Tell Kate to replace " \.obj" to "\\\n .obj" using regular expressions. Actual Results: 2. Kate runs for several minutes at 95% processor time. Expected Results: 2. Instant replace (at most twice as slow as in vi). OS: Linux (x86_64) release 2.6.34.7-0.3-desktop Compiler: gcc