TextEdit: Clip to rect, scroll if caret outside rect