Editor is extremely slow with long lines

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
bistromathics
Posts: 15
Joined: Mon Jul 12, 2010 9:28 pm

Editor is extremely slow with long lines

Post by bistromathics »

I have a file with a single very long line, about 2000 characters long. Whenever the line is displayed in the editor, everything goes extremely slow. Scrolling, moving the cursor, typing, highlighting all take 1-2 seconds to do. When I scroll far enough to where the line is no longer displayed, everything speeds back up.
bistromathics
Posts: 15
Joined: Mon Jul 12, 2010 9:28 pm

Re: Editor is extremely slow with long lines

Post by bistromathics »

Here is some more info - The line is mostly tab characters. I have tried 2000-character lines without tabs and performance is just fine. It's only when you start adding tons of tabs that it gets slower and slower.
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: Editor is extremely slow with long lines

Post by MikeyB »

I did bring this up some time ago, but can't find my original posts!

I still find WeBuilder slows down with any file that has long lines, accidentally open up a minified/compressed JavaScript file which is all on one line and you'll regret it!
x3po
Posts: 139
Joined: Fri May 16, 2008 10:48 am

Re: Editor is extremely slow with long lines

Post by x3po »

MikeyB wrote:I did bring this up some time ago, but can't find my original posts!

I still find WeBuilder slows down with any file that has long lines, accidentally open up a minified/compressed JavaScript file which is all on one line and you'll regret it!
So true!
davenz

Re: Editor is extremely slow with long lines

Post by davenz »

Known issue and commented on by the devs a long while back. New versions are not much improved, so like others I just avoid opening files with thousands of characters in any one tag. It is a shame because WeBuilder is the best editor I have used by a very long way; the quirks I just work around.

Dave
davethompson.co.nz
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Editor is extremely slow with long lines

Post by Gatis »

Hi,

We apologize for this, but currently it is true - if you have very long lines inside editor, it will be slow.
However, it seems a technical solution has been found, and we have now assigned resources, to work on this. So we hope it will be better with next major version.
Kind regards,
Gatis Avots
davenz

Re: Editor is extremely slow with long lines

Post by davenz »

That's great news; anything that makes WB better gets the big thumbs up from me.

Will the next version of WB support HTML 5 and CSS 3?

Dave
davethompson.co.nz
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Editor is extremely slow with long lines

Post by Gatis »

Yes, next version will offer also HTML5.

CSS3 is supported already now. ;)
To make it the default CSS specification in your editor, go to Main Menu; Options; Preferences; Language Options; CSS; and choose entry for "CSS Language Specification".
Kind regards,
Gatis Avots
davenz

Re: Editor is extremely slow with long lines

Post by davenz »

Ah, so it is, my apologies, I should have known that but didn't. Thanks for pointing it out.

Dave
davethompson.co.nz
bistromathics
Posts: 15
Joined: Mon Jul 12, 2010 9:28 pm

Re: Editor is extremely slow with long lines

Post by bistromathics »

Will the fix for this problem apply to Rapid PHP as well?
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Editor is extremely slow with long lines

Post by Gatis »

Yes, all editor editions will have this problem fixed in next major version - WeBuilder, Rapid PHP, Rapid CSS, and HTMLPad.
The test results show, that there is no more delay when you open a file and do any modifications on a long line (more than 52 000 characters in one line).
Kind regards,
Gatis Avots
Post Reply