vitebonus / closure-library

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

Changing font in the editor takes quadratic time. #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Open the editor demo:
http://closure-
library.googlecode.com/svn/trunk/closure/goog/demos/editor/editor.html
2. Copy 1000 lines into the textarea.
3. Change the font. For me it took ~3 seconds.
4. Repeat it with 2000 lines. It took ~12 seconds.

What is the expected output? What do you see instead?

The time to change the font should be proportional to the text length.

What version of the product are you using? On what operating system?

r8, Chrome 4.0.249.4, Linux

Please provide any additional information below.

As a result of this bug GMail can easily be frozen with 100 KB text.

Original issue reported on code.google.com by pall...@google.com on 24 Nov 2009 at 9:09

GoogleCodeExporter commented 8 years ago

Original comment by pall...@google.com on 15 Jul 2011 at 1:24

GoogleCodeExporter commented 8 years ago

Original comment by nn...@google.com on 23 Apr 2012 at 9:03