sunshengfei / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
0 stars 0 forks source link

Large XML file not highlighted at Code Hosting #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Open
http://code.google.com/p/google-styleguide/source/browse/trunk/cppguide.xml?r=3
That's a 158K, 4300-line XML file viewed in the source browser of Google
Code Hosting.

What is the expected output?  What do you see instead?
Expected the file to be highlighted. It is not.

What version are you using?  On what browser?
Firefox 3.0 on Ubuntu 8.04.

Please provide any additional information below.
I'm not sure whether this is an issue with google-code-prettify proper or
with the way it is used at Code Hosting.

Is there any size limit on the highlighted files?

Original issue reported on code.google.com by alexkon on 30 Jun 2008 at 2:27

GoogleCodeExporter commented 8 years ago
To keep page rendering speedy, Google Code does disable highlighting of files 
above a
certain size. If you'd like to see that limit raised or eliminated, I recommend
filing an issue in /p/support. Prettify.js itself has no size limit.

Original comment by artdent on 26 Feb 2009 at 5:29

GoogleCodeExporter commented 8 years ago
I recently did some work to improve large file handling.
That will be included in the next minified version.

Original comment by mikesamuel@gmail.com on 19 May 2009 at 5:12