Bug: File with large number of lines chokes the editor

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;

Bug: File with large number of lines chokes the editor

Postby pmk65 » Tue May 09, 2017 10:18 pm

Example:
Download the package from here: https://github.com/Marak/faker.js
Then open the file "build/faker.js" (File is only 1.308 Kb in size, but contains 70655 lines!)

When I open that file, I get to enter a few characters, then auto completer kicks in and the editor locks up. (No crash. It just locks up and I have to manually cancel the task)
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Bug: File with large number of lines chokes the editor

Postby Aivars » Wed May 10, 2017 11:39 am

Try disabling all your plugins... I think they might be to blame, because for me editing this file seems fine, and AutoComplete works, too.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2453
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Bug: File with large number of lines chokes the editor

Postby pmk65 » Wed May 10, 2017 2:07 pm

That was my initial thought too. But disabling all plugins didn't make any differences. The editor still locks up. (after +1minute, I can enter a couple more character and then it locks up again)
If you need it, I can make a screen capture or send you my config files?
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Bug: File with large number of lines chokes the editor

Postby Aivars » Wed May 10, 2017 3:19 pm

Ok, that might help. I tried to edit (and use autocomplete) at the very beginning of the file and inside a function, wasn't able to experience the slowdown.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2453
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Bug: File with large number of lines chokes the editor

Postby dave » Thu Jun 08, 2017 12:08 am

I've previously reported the editor hanging when trying to deal with a large files. Tonight I have loaded a SQL file with only 427 lines and the editor hangs to the point that I have to kill the application. This particular file does have some *very* long lines, but WeBuilder has never coped with large files. Chucking the file at UltraEdit eats it!
dave
 
Posts: 24
Joined: Fri Mar 31, 2006 2:45 pm


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: Google [Bot] and 15 guests

cron