Fix a bug where a case block was not breaking when it should.
Fix a scrolling bug in multi-line text boxes.

The issue here is that the vertical scrollbar is not updateing when the
selection area goes beyond the visibile range, and thus scrolls in
response.