Clear editor segments