T O P I C R E V I E W |
Fred |
Posted - 14 Sep 2006 : 18:22:37 Hi,
when debugging the scripts the webpage grid is really slow for long webpages (>2500 lines). Perhaps you could disable screen updates before filling the control and enabled screen updates when it is completely filled. Followed by a refresh.
This should greatly increase the speed. |
4 L A T E S T R E P L I E S (Newest First) |
Fred |
Posted - 15 Sep 2006 : 21:10:20 ok |
Alessio Viti |
Posted - 15 Sep 2006 : 15:37:33 Hi Fred,
Maybe I can do also a button to load the Webpage in the Grid, so you can use it only when you really need it.
I will try to do this asap, I need one or two weeks.
Thank you!
Alessio |
Fred |
Posted - 15 Sep 2006 : 14:10:21 Yes, I mean the grid in the editor. And I'm aware I can disable it but it has its uses (it shows what the scriptengine 'thinks' the webpage looks like as it is downloaded by the download manager).
What I mean is that in the code for the debugger, where the grid is populated with the html, you:
- first switch screen updates off (probably a property on the control)
- iterate over the HTML lines to add them to the grid
- switch screen updates on
- finally force a repaint of the control on the screen
This would greatly enhance the speed, as screen rewrites are time consuming and since the grid is growing this is also is an O(n) process (non-linear). |
Alessio Viti |
Posted - 15 Sep 2006 : 11:29:48 Hi Fred,
Do you mean the grid in Editor right? There is an option to disable it "Do not load grid webpage".
I do not use it, I use a text editor (EditPlus is really good) and the editor, with look at Grid Webpage.
Alessio |