summaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2010-02-21 19:14:47 +0000
committercorvid <corvid@lavabit.com>2010-02-21 19:14:47 +0000
commit60bfc32b189a03589b41ce8e8cfade8e276a558c (patch)
treeedbaa572193275f5f78eecaae35a829f88c70c43 /dw/textblock.cc
parent39b197ee628ea986198e75ddb052f84a0bce967e (diff)
add a todo reminder
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r--dw/textblock.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index fae2613a..19520282 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -1025,8 +1025,9 @@ void Textblock::wordWrap(int wordIndex)
//DBG_OBJ_ARRSET_NUM (page, "lines.%d.max_word_min", page->num_lines - 1,
// lastLine->max_word_min);
- /* Finally, justify the line. Breaks are ignored, since the HTML
- * parser sometimes assignes the wrong style to them. (TODO: ) */
+ /* Align the line.
+ * \todo Use block's style instead once paragraphs become proper blocks.
+ */
if (word->content.type != core::Content::BREAK) {
switch (word->style->textAlign) {
case core::style::TEXT_ALIGN_LEFT: