On Fri, Dec 07, 2012 at 10:51:03AM +0100, Sebastian Geerken wrote:
Just one comment:
On Thu, Dec 06, Jorge Arellano Cid wrote:
In that case, AFAIU, a dillorc option can be formulated as:
Breaking a single word in a line is not possible unless it is wider than XX chars (e.g. single_word_max_length).
(I assume knowing whether a word is alone in a line is possible by comparing the start and end indexes of the array, but haven't checked it...)
Yet again, the problem is to calculate the correct extremes, to avoid too narrow columns. However, at this point, we do not have lines: these are calculated as soon as a given column width is calculated (which depends on the correct extremes).
Ahhh!, now I see what you mean.
After the release, other approaches could be discussed.
If that's the case, then we only have a set of words to work with; It may be possible to devise a different heuristic. -- Cheers Jorge.-