From 75d1f94ef500df4bea81d8988757d37221a310dd Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 16 May 2014 21:12:15 +0200 Subject: [PATCH] Fix bug in text box widget and multiline strings with markup --- naja/widgets/text.py | 1 + 1 file changed, 1 insertion(+) diff --git a/naja/widgets/text.py b/naja/widgets/text.py index 9eba104..1ddab05 100644 --- a/naja/widgets/text.py +++ b/naja/widgets/text.py @@ -143,6 +143,7 @@ class TextBoxWidget(TextWidget): word = glyph.markup_text remaining_words.insert(0, word) if current_words and words_fit(current_words): + line_count += 1 yield ' '.join(current_words) def prepare(self): -- 2.34.1