Commit 5ebaf096 authored by hjk's avatar hjk
Browse files

Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline

parents 0b22e71f 46e00dda
......@@ -3370,9 +3370,9 @@ void BaseTextEditor::setIfdefedOutBlocks(const QList<BaseTextEditor::BlockRange>
const BlockRange &range = blocks.at(rangeNumber);
if (block.position() >= range.first && (block.position() <= range.last || !range.last)) {
needUpdate += TextEditDocumentLayout::setIfdefedOut(block);
needUpdate |= TextEditDocumentLayout::setIfdefedOut(block);
} else {
needUpdate += TextEditDocumentLayout::clearIfdefedOut(block);
needUpdate |= TextEditDocumentLayout::clearIfdefedOut(block);
}
if (block.contains(range.last))
++rangeNumber;
......
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