qt5base-lts/tests/auto/gui
Rainer Keller 76fbe75abe Remove empty block at beginning of imported markdown
An empty QTextDocument already contains a block; so when the formatting
is fully determined, if the document is still empty, then instead of
inserting a new block, we can set formatting on the cursor, which
affects the pre-existing block, before inserting text.  This avoids
leaving a blank line (the default block) above the inserted content.

Fixes: QTBUG-81060
Change-Id: I14e45e300a602493aa59680417d74d4c2b25862d
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2020-01-13 09:25:39 +01:00
..
image Fix accuracy of ARGB32->A2RGB30 conversions 2019-11-07 10:42:08 +01:00
itemmodels Remove usages of deprecated APIs of corelib 2019-07-05 11:25:46 +02:00
kernel Fix serializing QUuid with QDataStream with Qt 4 stream versions 2019-12-03 13:28:22 +02:00
math3d Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
painting Fix: QPainter off-by-one clipping for some non-integer scalings 2019-10-18 06:11:39 +00:00
qopengl unblacklist passing tests 2019-07-08 11:01:42 +00:00
qopenglconfig Deprecate conversion functions between QList and QSet 2019-05-07 14:15:44 +00:00
qvulkan Merge remote-tracking branch 'origin/5.10' into dev 2017-10-17 10:34:24 +02:00
rhi Avoid EGL_BAD_MATCH in tst_qrhi autotest 2019-10-31 14:41:07 +01:00
text Remove empty block at beginning of imported markdown 2020-01-13 09:25:39 +01:00
util Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
gui.pro Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00