Remember multiple selections when saving/restoring editor state

@redmunds