[Text] Improve impl of BasicTextLineInformation

  - Add unit tests

Change-Id: Ia734a34f15d13169b48c6691618b3fca45a36127
3 files changed