|
From: Slava P. <sl...@je...> - 2002-09-18 19:19:08
|
Corey, The "long lines" problem is a known problem and is independent of the file being large (eg, try opening a 1-line file with a 1000-character line; it will be slow). I am planning on fixing it before 4.1final. On Mon, 2002-09-16 at 17:27, Corey Taylor wrote: > Hi, > > Soft wrap is off. More accurate syntax highlighting is off, and I have a > bunch of plug-ins but I'm not sure they are the problem since my linux jEdit > has the same problem and has only a few plugins installed. > > I think you could reproduce this problem rather easily. I think the problem > is what Matthew mentioned in an e-mail recently: > > "More specifically that I can tell, the problem only exists for me when > the text of lines extend far into the right of the buffer. If I modify > the same text file, and return the lines of text so that the text > doesn't extend so far into the right of the buffer, jedit seems to be > more responsive." --Matthew Hailstone > > I think Matthew is right. If you have a lot of lines that extend very far to > the right, scrolling becomes very slow, and borders on unresponsive. Mind > you my machine is fast and has plenty of memory, so this shouldn't be a > problem. If anyone wants to see what I mean, paste a whole bunch of lines > about 4-8 KBs in size one after another then try to scroll. Make sure line > wraps are off, otherwise scrolling will be normally fast. It's weird when I > have line wrap on it scrolls fast, but when I have these super long lines > that stretch far to the right, scrolling becomes very slow, but only in the > sections that stretch very far to the right. > > This is an easy problem to reproduce, and if I wasn't clear just e-mail me > and I'll explain in more detail. > > Once again, I'd be glad to try to come up with a solution, but I'm sure > there are some developers on this list who can come up with a fix faster > than me since I have no experience with the jEdit codebase. Thanks, > > Corey > > ----- Original Message ----- > From: "Slava Pestov" <sl...@je...> > To: <jed...@li...> > Sent: Monday, September 16, 2002 2:35 PM > Subject: Re: [ jEdit-devel ] Super slow buffer with big files! > > > > Hi, > > > > I would check a few settings: > > > > - Is soft wrap on? > > - Is "more accurate syntax highlighting" on? > > - What plugins do you have? > > > > To test I've opened 100Mb+ files in jEdit, which was sort of slow, but > > 2Mb files should not have any slowdowns. > > > > Slava > > > > On Fri, 2002-09-13 at 20:31, Corey Taylor wrote: > > > Hi I am having a problem with jEdit that I'd like to fix. Whenever I > load a big text file, say a 2MB SQL file, the scrolling becomes very slow! > > > > > > Is this a problem with jEdit, or is this a limitation of the JVM. I > imagine increasing buffer sizes could speed scrolling up with large ammounts > of text. Has anyone found a solution to working with large ammounts of text > quickly in jEdit? Oh yeah, and I did turn of all the options that slow stuff > down like anti-aliasing, etc... > > > > > > If this is a problem with the jEdit code, perhaps I can lend my Java > expertise in coming up with a fix? Or is there a simpler way to speed things > up? > > > > > > Corey > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > -- > > ----------------------------------------------- > > jEdit Developers' List > > jEd...@li... > > https://lists.sourceforge.net/lists/listinfo/jedit-devel > > > |