Version: (using KDE 4.2.3) OS: Linux Installed from: Unspecified Linux Replacing text on big files freezes kwrite and kate. Procedure: 1. Open the file with kwrite or kate 2. Select Edit->Replace 3. Insert the old and new string and click "Replace" 4. Kwrite and kate freezes. Running from the command line, i get: (...) kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART: 64 LINEEND: 128 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE: 64 MAX: 64 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT: 0 MAX: 512 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART: 128 LINEEND: 192 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE: 128 MAX: 128 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT: 0 MAX: 512 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART: 192 LINEEND: 256 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE: 192 MAX: 192 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT: 0 MAX: 512 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART: 256 LINEEND: 320 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE: 256 MAX: 256 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT: 0 MAX: 512 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART: 320 LINEEND: 384 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE: 320 MAX: 320 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT: 0 MAX: 512 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART: 384 LINEEND: 448 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE: 384 MAX: 384 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT: 0 MAX: 512 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART: 448 LINEEND: 512 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE: 448 MAX: 448 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT: 0 MAX: 512 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART: 512 LINEEND: 576 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE: 512 MAX: 512 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT: 0 MAX: 512 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART: 576 LINEEND: 640 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE: 576 MAX: 576 kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT: 0 MAX: 512 (...)
Created attachment 33838 [details] Test Case This tar.bz2 contains a .cvs text file as test case. Replacing all the '"' chars to '' will freeze kwrite and kate.
This bug was fixed with KDE 4.3