|
|
@@ -475,7 +475,7 @@ namespace System.Windows.Forms {
|
|
|
if ((wrap_pos > 0) && (wrap_pos != len) && (widths[pos] + w) + 27 > (doc.viewport_width - this.right_indent)) {
|
|
|
pos = wrap_pos;
|
|
|
tag.width = wrap_width;
|
|
|
- doc.Split(this, tag, pos, true);
|
|
|
+ doc.Split(this, tag, pos, this.soft_break);
|
|
|
this.soft_break = true;
|
|
|
len = this.text.Length;
|
|
|
retval = true;
|
|
|
@@ -483,7 +483,7 @@ namespace System.Windows.Forms {
|
|
|
} else if ((widths[pos] + w) > (doc.viewport_width - this.right_indent)) {
|
|
|
// No suitable wrap position was found so break right in the middle of a word
|
|
|
tag.width = tag.width + w;
|
|
|
- doc.Split(this, tag, pos, true);
|
|
|
+ doc.Split(this, tag, pos, this.soft_break);
|
|
|
this.soft_break = true;
|
|
|
len = this.text.Length;
|
|
|
retval = true;
|