changeset 1319:2995e0d9f89b

decorate/highlight spaces after widgets
author corvid <corvid@lavabit.com>
date Sat, 19 Sep 2009 02:24:29 +0000
parents fdf4c02b7be0
children 04d225021c79
files dw/textblock.cc
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dw/textblock.cc	Sat Sep 19 02:22:49 2009 +0000
+++ b/dw/textblock.cc	Sat Sep 19 02:24:29 2009 +0000
@@ -1402,8 +1402,7 @@
                   drawText(wordIndex, view, area, xWidget, yWidgetBase);
                }
             }
-            if (word->content.type == core::Content::TEXT &&
-                word->effSpace > 0 && wordIndex < line->lastWord - 1) {
+            if (word->effSpace > 0 && wordIndex < line->lastWord - 1) {
                drawSpace(wordIndex, view, area, xWidget + word->size.width,
                          yWidgetBase);
             }