This tests modifying selection after triggering a style change. Selection should be updated immediately. You should see the "hello" selected below as "world" turns red.