Merge "Do not compute outside given range in TextLine" into qt-dev
am: 01082fe6ae

Change-Id: I9d88c47a16747009fda893660fd36d325d212a40