Gentoo Archives: gentoo-user

From: Benno Schulenberg <benno.schulenberg@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kwrite and CPU usage and locking up when scrolling
Date: Sat, 24 Feb 2007 11:41:57
Message-Id: 200702241234.29620.benno.schulenberg@gmail.com
In Reply to: Re: [gentoo-user] Kwrite and CPU usage and locking up when scrolling by Dale
1 Dale wrote:
2 > Here is the thing that is so odd, it will open any other
3 > large file and work fine but it will mess up on emerge.log.
4
5 Open a copy of your emerge.log in vim and do:
6
7 :%s/\*\*\*//
8
9 After that KWrite will handle the file without a problem. As to
10 why, I can only guess: when the stars are still there, KWrite shows
11 folding markers, so it sees the file as some kind of code and tries
12 to "format" it, arrange it in paragraphs, and sometime searches the
13 entire file in vain for some matching paragraph-closing element.
14 When the stars are gone, it sees the file as plain text and doesn't
15 do any searching.
16
17 Benno
18 --
19 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Kwrite and CPU usage and locking up when scrolling Dale <dalek@××××××××××.net>