At this point "most-interesting" would be considered a single word, because only space and linebreak are the words limits detected. In this case they are "deleted" after breaking the text into lines. So in case we use hyphen and other symbols as possible line-breaking point, it should not be deleted. i.e. not Copy(aString, LineStart, i_break - LineStart);, but Copy(aString, LineStart, i_break - LineStart + 1);
Inclusive and non-inclusive break. However. I'm not sure how this should behave in case two sequential breaks are found. E.g. 'abc def' or 'this. Go' or other combination.
At this point "most-interesting" would be considered a single word, because only space and linebreak are the words limits detected. In this case they are "deleted" after breaking the text into lines. So in case we use hyphen and other symbols as possible line-breaking point, it should not be deleted. i.e. not
Copy(aString, LineStart, i_break - LineStart);
, butCopy(aString, LineStart, i_break - LineStart + 1);