Multiline text field support

TextGrid._getMark is now robust to multiline text fields. That doesn't
mean you should use them, just that it can handle them if they come up.