diff options
author | Sebastian Geerken <devnull@localhost> | 2012-12-07 18:14:32 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2012-12-07 18:14:32 +0100 |
commit | 42bbe27f2556873b84dba5a06e713b9a9d640fa9 (patch) | |
tree | 997241466b4c9d9eb283c3522b9dcc5b26336637 /dw/textblock_linebreaking.cc | |
parent | b81b1b545238ec1b0b53d827591ff59a60429ed7 (diff) |
Comments.
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r-- | dw/textblock_linebreaking.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc index 19927b7e..ba1fe209 100644 --- a/dw/textblock_linebreaking.cc +++ b/dw/textblock_linebreaking.cc @@ -629,6 +629,9 @@ void Textblock::wordWrap (int wordIndex, bool wrapAll) } } +/** + * Counter part to wordWrap(), but for extremes, not size calculation. + */ void Textblock::handleWordExtremes (int wordIndex) { // TODO Overall, clarify penalty index. @@ -699,6 +702,9 @@ void Textblock::handleWordExtremes (int wordIndex) lastPar->lastWord = wordIndex; } +/** + * Called when something changed for the last word (space, hyphens etc.). + */ void Textblock::correctLastWordExtremes () { if (paragraphs->size() > 0) { @@ -1047,6 +1053,9 @@ void Textblock::rewrap () wrapRefLines = -1; } +/** + * Counter part to rewrap(), but for extremes, not size calculation. + */ void Textblock::fillParagraphs () { if (wrapRefParagraphs == -1) |