This is to prevent NULL pointers when creating a TextService with no rows in it. This NULL pointers doesn't happen when creating a richedit windows, because it sets an empty text when the richedit window procedure handles the WM_CREATE event.
-- v4: riched20: Call ME_UpdateRepaint instead of editor_ensure_visible in set_selection.