Keep any current text selection when resizing the window
Keep input tag selection range in sync with the formatter
Ignore attempts to insert text into the input buffer when not in input mode