Auto-resizing editor textfield