Commit 589864c6 authored by C. Boemann's avatar C. Boemann

Without som small magic the linenumber of a block was the same as the block number

Aso we need to add the linenumber relative to the block

BUG: 298365
parent eeb1ebbe
......@@ -1339,6 +1339,7 @@ bool KoTextLayoutArea::layoutBlock(FrameIterator *cursor)
layout->endLayout();
setVirginPage(false);
cursor->lineTextStart = -1; //set lineTextStart to -1 and returning true indicate new block
block.setLineCount(layout->lineCount());
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment