Code: Select all
RenderedStringComponent* lc =
c->split(split_point - (partial_extent - c->getPixelSize().d_width),
true);
//RenderedStringComponent* lc =
// c->split(split_point - (partial_extent - c->getPixelSize().d_width),
// idx == 0);
when
the content is "[image='set:someset image=someimage']asdasdasdasdasd", the RenderedStringTextComponent is too big that the line couldn't accept it.
RenderedStringTextComponent cannot be split, if his second param is false.
the second param has no use here, i think.(am i wrong?ce~)
i have tried, it works.