Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.0
-
None
Description
in QTextBlock::iterator::operator-(int)
we define
int formatIndex = p->fragmentMap().fragment( n )->format;
and then NEVER do enter the while loop after:
while (n != b && p->fragmentMap().fragment( n )->format != formatIndex) {
Correct solution is to use equal operator == instead of not equal operator != in while condition.