projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bug in text box widget and multiline strings with markup
[naja.git]
/
naja
/
widgets
/
text.py
diff --git
a/naja/widgets/text.py
b/naja/widgets/text.py
index 9eba104065a18a2a84a4a947f683811f8c2e9241..1ddab05915122bf9c22bdbf033f78da57ea0a13f 100644
(file)
--- 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):