qt6-bb10/tests/auto/gui/text
Allan Sandfeld Jensen bd3c82f8db Fix non-trivial soft-hyphen line breaks
The effect of the soft-hyphen needs to be updated once the final the
break point has been found.

This change cleans the logic by using two variables keeping track of
soft-hyphen at current evaluated position and at last confirmed break
point. Also adds tests for supression of soft-hyphens in the tight
WrapAnywhere case.

Fixes: QTBUG-35940
Fixes: QTBUG-44257
Change-Id: I7a89a8ef991b87691879bb7ce40cec4a3605fdd5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2020-03-10 21:58:21 +01:00
..
qabstracttextdocumentlayout
qcssparser Support missing white-space:pre-line CSS 2019-08-12 17:24:05 +01:00
qfont Merge remote-tracking branch 'origin/5.13' into 5.14 2019-11-06 11:41:19 +01:00
qfontcache Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qfontdatabase Merge remote-tracking branch 'origin/5.13' into dev 2019-05-27 15:34:10 +02:00
qfontmetrics Fix bounding box of zero-width entities in QFontEngineFT 2020-02-27 08:59:08 +00:00
qglyphrun unblacklist passing tests 2019-07-08 11:01:42 +00:00
qinputcontrol
qrawfont [Windows] Fixed regression when creating fallback fonts 2019-02-14 08:01:05 +00:00
qstatictext Prefix QTextStream operators with Qt:: in tests 2019-05-03 09:36:36 +00:00
qsyntaxhighlighter tst_qsyntaxhighlighter: fix no-op QTRY_VERIFY check 2019-01-16 14:23:42 +00:00
qtextblock
qtextcursor Fix crash when detaching dangling QTextCursor 2018-09-27 06:51:37 +00:00
qtextdocument QTextDocument: Set the font family to be after the families set 2020-01-06 12:01:08 +01:00
qtextdocumentfragment Fix assert in QTextDocument CSS parser on "border-width: 1pt" 2019-12-03 17:54:24 +01:00
qtextdocumentlayout unblacklist passing tests 2019-07-08 11:01:42 +00:00
qtextformat Update font when text format's letter spacing type is changed 2017-12-22 05:37:55 +00:00
qtextlayout Fix non-trivial soft-hyphen line breaks 2020-03-10 21:58:21 +01:00
qtextlist Tests: Fix some warnings about deprecated functions not under test 2019-05-27 15:29:16 +02:00
qtextmarkdownimporter QTextMarkdownImporter: fix use after free; add fuzz-generated tests 2020-02-28 09:31:59 +01:00
qtextmarkdownwriter Markdown importer: properly set hyperlinks 2020-02-03 14:58:06 +01:00
qtextobject
qtextodfwriter Add more formatting to QTextDocumentWriter when writing ODF files 2018-04-11 18:44:31 +00:00
qtextpiecetable Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qtextscriptengine qtbase: Remove BLACKLIST files which are no longer active 2018-02-12 17:40:12 +00:00
qtexttable QTextDocument: add css-styling of table cell borders to HTML import/export 2019-08-19 20:59:12 +02:00
qzip
text.pro Markdown: fix several issues with lists and continuations 2019-05-08 20:28:28 +00:00