edit mode: select end, fit content height (#1342)