Prevent NULL pointer in editor_ensure_visible when retrieving row from cursor.
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.
Edited by Santino Mazza