Don't do work when setting document.text = document.text; fixes strange performance bug in astraea (don't quite understand why).
Don't do work when setting document.text = document.text; fixes strange
performance bug in astraea (don't quite understand why).

--HG--
extra : convert_revision : svn%3A14d46d22-621c-0410-bb3d-6f67920f7d95/trunk%401963

infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore