Fix critial bug in text itemizer.
Itemizations is invalid after changing text, therefore lists have to be cleared.
This commit is contained in:
parent
74d72b9191
commit
e4ad657991
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void text_itemizer::itemize_direction(unsigned start, unsigned end)
|
|||
|
||||
void text_itemizer::itemize_script()
|
||||
{
|
||||
if (!script_runs_.empty()) return; //Already done
|
||||
script_runs_.clear();
|
||||
|
||||
ScriptRun runs(text_.getBuffer(), text_.length());
|
||||
while (runs.next())
|
||||
|
|
Loading…
Reference in a new issue