Better text expansion editor behaviors