Fix for issue 202 (class applier restoring selection/ranges after undoing)

git-svn-id: http://rangy.googlecode.com/svn/trunk@811 88e730d5-b869-a254-3594-6732aba23865