On 31/05/2007 09:05, SourceForge.net wrote:
Bugs item #1728755, was opened at 2007-05-31 00:05 Category: SciTE
Summary: Machine hangs when there are 3000+ characters in a row
I like to use SciTE 1.73 as my IE source editor. But we generate HTML pages that are using sometimes more than 3000 characters in one row. When you try to scroll through a row like this, SciTE and the whole machine hangs. I'm using Win 2K Prof with 2GB RAM.
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1728755&group_id=2439
I answered in SF.net bug tracker, but I paste the answer here, as it can be of general interest, even if the info isn't really new:
I had a similar problem with very big SVG files with long values for attributes (long paths). It appeared that Scintilla hits the limits of CGI (Windows way of drawing text) when drawing very long strings, reaching the limits of CGI coordinates (IIRC). Since you handle HTML, you should have not such problem, ie. runs of style should be smaller. But, IE sends the HTML file right from the cache (Temporary Internet Files), where the files names look like post-125235[1], for example. Since they have no extension, SciTE don't colourise them. That one of the reasons why I added the menu to choose an arbitrary lexer for the current file (also useful in XML which has lot of exotic extensions), and gave a shortcut key for those frequently needing such change: makefiles (no extension at all), HTML and XML. So, after the View source command, once SciTE opens the HTML file, hit F12 to get colourised HTML and suffer less from this limitation. Activating wrapping can also ease the access to long lines, perhaps at the cost of some slow down.
-- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
