C++: Fix unit-tests for MatchingText

BackwardScanner required more investigation and this is
the better fix than 413c66ec.

Change-Id: I651a7b416b549cc4a0e086873262d04409a7448e
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Ivan Donchevskii
2018-02-20 11:53:00 +01:00
parent 4286a4d507
commit 1d2b27081a
3 changed files with 8 additions and 2 deletions

View File

@@ -66,6 +66,7 @@ public:
int startOfBlock(int index) const;
int size() const;
int offset() const;
static int previousBlockState(const QTextBlock &block);