mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
Set RTL tooltips RTL
Fixes: #10672
(cherry picked from commit edb2d14124
)
This commit is contained in:
parent
485f070887
commit
7ec4fa149c
@ -1056,7 +1056,11 @@ docstring InsetText::toolTipText(docstring prefix, size_t const len) const
|
||||
for (; it != end; ++it) {
|
||||
if (it != beg)
|
||||
oss << '\n';
|
||||
if ((*it).isRTL(buffer().params()))
|
||||
oss << "<div dir=\"rtl\">";
|
||||
writePlaintextParagraph(buffer(), *it, oss, rp, ref_printed, len);
|
||||
if ((*it).isRTL(buffer().params()))
|
||||
oss << "<div/>";
|
||||
if (oss.tellp() >= 0 && size_t(oss.tellp()) > len)
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user