For non-selected output use elided text if necessary and
for selected add additional line breaks to make sure the
text fits into the width of the output area.
Additionally removed different style of lines coming after
the first one as it does not make sense at all.
Change-Id: Ifdd8cb076151ce3e0d895c702921d8f4d2a2b15a
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>