diff options
Diffstat (limited to 'src/gui/text/qtextmarkdownwriter_p.h')
-rw-r--r-- | src/gui/text/qtextmarkdownwriter_p.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/text/qtextmarkdownwriter_p.h b/src/gui/text/qtextmarkdownwriter_p.h index 2a9388ca2d..250288bcff 100644 --- a/src/gui/text/qtextmarkdownwriter_p.h +++ b/src/gui/text/qtextmarkdownwriter_p.h @@ -71,8 +71,19 @@ public: void writeFrame(const QTextFrame *frame); private: + struct ListInfo { + bool loose; + }; + + ListInfo listInfo(QTextList *list); + +private: QTextStream &m_stream; QTextDocument::MarkdownFeatures m_features; + QMap<QTextList *, ListInfo> m_listInfo; + int m_wrappedLineIndent = 0; + int m_lastListIndent = 1; + bool m_doubleNewlineWritten = false; }; QT_END_NAMESPACE |