TextDocumentView: Lock the view focus in MouseDown()
TextDocumentLayout: Fixed LineIndexForOffset()

It stepped over a wrong number of lines when skipping to the
ParagraphLayout containing the text offset.
TextDocumentView: Selection polishing, I-Beam cursor
TextDocumentView: Fix detecting pressed Shift-key.