qt5base-lts/tests/auto/gui/text/text.pro
Shawn Rutledge 040dd7fe26 Markdown: fix several issues with lists and continuations
Importer fixes:
- the first list item after a heading doesn't keep the heading font
- the first text fragment after a bullet is the bullet text, not a
  separate paragraph
- detect continuation lines and append to the list item text
- detect continuation paragraphs and indent them properly
- indent nested list items properly
- add a test for QTextMarkdownImporter
Writer fixes:
- after bullet items, continuation lines and paragraphs are indented
- indentation of continuations isn't affected by checkboxes
- add extra newlines between list items in "loose" lists
- avoid writing triple newlines
- enhance the test for QTextMarkdownWriter

Change-Id: Ib1dda514832f6dc0cdad177aa9a423a7038ac8c6
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
2019-05-08 20:28:28 +00:00

46 lines
948 B
Prolog

TEMPLATE=subdirs
SUBDIRS=\
qabstracttextdocumentlayout \
qcssparser \
qfont \
qfontcache \
qfontdatabase \
qfontmetrics \
qglyphrun \
qrawfont \
qstatictext \
qsyntaxhighlighter \
qtextblock \
qtextcursor \
qtextdocument \
qtextdocumentfragment \
qtextdocumentlayout \
qtextformat \
qtextlayout \
qtextlist \
qtextobject \
qtextpiecetable \
qtextscriptengine \
qtexttable \
qzip \
qtextodfwriter \
qinputcontrol
win32:SUBDIRS -= qtextpiecetable
qtConfig(textmarkdownreader): SUBDIRS += qtextmarkdownimporter
qtConfig(textmarkdownwriter): SUBDIRS += qtextmarkdownwriter
!qtConfig(private_tests): SUBDIRS -= \
qfontcache \
qcssparser \
qtextlayout \
qtextpiecetable \
qzip \
qtextmarkdownwriter \
qtextodfwriter
!qtHaveModule(xml): SUBDIRS -= \
qcssparser \
qtextdocument