[Development] QTextFormat::LayoutDirection as a character format property?
Igor Khanin
igor at khanin.biz
Mon Nov 4 10:55:25 CET 2024
Thanks!
On 04/11/2024 10:48, Lars Knoll wrote:
>>> This appears to be the case since Scribe was first released back in Qt 4, or at the very least predates the current Git history. So my question is why then the documentation says that? Was there an intention to implement some behavior that then never happened?
> I don’t see where the docs state that QTextFormat::LayoutDirection are affecting character formats. If it does, it’s a bug in the documentation.
In https://doc.qt.io/qt-6/qtextformat.html#Property-enum the enum values
are broken into groups based on their intended use. `LayoutDirection` is
placed in the "Paragraph and character properties" group, rather than
the "Paragraph properties" group along with the other properties that
are meant to be set on block formats only.
Best,
Igor
More information about the Development
mailing list