Enter to send·Shift+Enter new line
replace_completion_range( self, start: int, end: int, replacement: str ) ->
Replace text in the input field.