Fix an issue when call `becomeFirstResponder` programmatically.
Support lineBreakMode property.
Refine line truncation behavior.