projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d66e2b0
)
Fix bug in text box widget and multiline strings with markup
author
Neil
<neil@dip.sun.ac.za>
Fri, 16 May 2014 19:12:15 +0000
(21:12 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Fri, 16 May 2014 19:33:28 +0000
(21:33 +0200)
naja/widgets/text.py
patch
|
blob
|
history
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):