diff --git a/base b/base index f94e953b3..3813bb1b9 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit f94e953b32858a02aa2d0a6b780ee28b88717ced +Subproject commit 3813bb1b950abdd75a11b96e237ca9932f3dc1a5 diff --git a/frontend/ui/widget/textboxwidget.lua b/frontend/ui/widget/textboxwidget.lua index 6b7858699..6acd0c6e7 100644 --- a/frontend/ui/widget/textboxwidget.lua +++ b/frontend/ui/widget/textboxwidget.lua @@ -304,6 +304,10 @@ function TextBoxWidget:_splitToLines() -- - Between a line end_offset= and the next line offset=, there may be only -- a single indice not included: the \n or the space that allowed the break. self.vertical_string_list[ln] = line + if line.no_allowed_break_met then + -- let the fact a long word was splitted be known + self.has_split_inside_word = true + end if line.hard_newline_at_eot and not line.next_start_offset then -- Add an empty line to reprensent the \n at end of text -- and allow positionning cursor after it