~jaro/balkon#2: 
add options for soft line breaks

Currently, Balkón uses soft line break opportunities as provided by ICU, and when the smallest line break is not enough to make the line fit within paragraphMaxWidth, Balkón will start breaking otherwise unbreakable strings (words), as with the CSS property values:

white-space: normal;
white-space: pre-wrap;
white-space: pre-line;

overflow-wrap: break-word;
overflow-wrap: anywhere;

Add a setting to support the current behaviour as well as two other options:

  1. Option to disable these per-character wrap opportunities, to better support the default behaviour of web browsers, as with the CSS property value:

    overflow-wrap: normal;
    
  2. Option to disable all soft wrap opportunities, as with the CSS property values:

    white-space: nowrap;
    white-space: pre;
    
Status
REPORTED
Submitter
~jaro
Assigned to
No-one
Submitted
1 year, 1 month ago
Updated
1 year, 26 days ago
Labels
feature