summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/itemmodels/qstandarditem/tst_qstandarditem.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2018-11-06 12:08:05 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2018-11-08 16:38:27 +0000
commitdec7961709c90f6977d2447f7fa6c6625af41cb2 (patch)
tree2b5a6c33fd369b3b0ea5192e8b1c3df0bfda44a1 /tests/auto/gui/itemmodels/qstandarditem/tst_qstandarditem.cpp
parentbdebc90c2826866e4434a6429aa6f822ee3cb8f6 (diff)
QSyntaxHighlighter: Delay all highlights until first rehighlight
When calling setDocument (directly or through the constructor) a delayed rehighlight is initiated. Previously, if any text was changed before this rehighlight could run it would cancel the rehighlight, even if the changed text only caused a new block of text to be highlighted. Fixes: QTBUG-71307 Change-Id: Ib09b664d90906f5b4427105f0e45469806f3a779 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Diffstat (limited to 'tests/auto/gui/itemmodels/qstandarditem/tst_qstandarditem.cpp')
0 files changed, 0 insertions, 0 deletions