diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-05-28 11:11:31 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-05-28 11:12:16 +0200 |
commit | 6ec0b2591e8e4bf05555bce3b65a0d4cf24f5c99 (patch) | |
tree | 93507a18f6fdab21d49499e3091d25a5aab403bf /src | |
parent | 653757e78140ca463b9e5a4233b21558916d35ff (diff) | |
download | qt-creator-6ec0b2591e8e4bf05555bce3b65a0d4cf24f5c99.tar.gz |
Removed debug output.
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/texteditor/basetexteditor.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index 8628b60b61..310b0374a1 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -1872,7 +1872,7 @@ void BaseTextEditor::paintEvent(QPaintEvent *e) while (block.isValid()) { QRectF r = blockBoundingRect(block).translated(offset); - + if (!d->m_highlightBlocksInfo.isEmpty()) { int n = block.blockNumber(); @@ -1896,7 +1896,7 @@ void BaseTextEditor::paintEvent(QPaintEvent *e) } } } - + QTextLayout *layout = block.layout(); QTextOption option = layout->textOption(); @@ -3537,8 +3537,6 @@ void BaseTextEditor::_q_matchParentheses() if (isReadOnly()) return; - - qDebug() << "_q_matchParentheses()" << textCursor().position(); QTextCursor backwardMatch = textCursor(); QTextCursor forwardMatch = textCursor(); const TextBlockUserData::MatchType backwardMatchType = TextBlockUserData::matchCursorBackward(&backwardMatch); @@ -3548,13 +3546,11 @@ void BaseTextEditor::_q_matchParentheses() if (backwardMatchType == TextBlockUserData::NoMatch && forwardMatchType == TextBlockUserData::NoMatch) { setExtraSelections(ParenthesesMatchingSelection, extraSelections); // clear - qDebug() << "no match"; return; } int animatePosition = -1; if (backwardMatch.hasSelection()) { - qDebug() << "backward match"; QTextEdit::ExtraSelection sel; if (backwardMatchType == TextBlockUserData::Mismatch) { sel.cursor = backwardMatch; @@ -3583,7 +3579,6 @@ void BaseTextEditor::_q_matchParentheses() } if (forwardMatch.hasSelection()) { - qDebug() << "forward match"; QTextEdit::ExtraSelection sel; if (forwardMatchType == TextBlockUserData::Mismatch) { sel.cursor = forwardMatch; @@ -3867,7 +3862,7 @@ void BaseTextEditor::setDisplaySettings(const DisplaySettings &ds) d->extraAreaHighlightCollapseBlockNumber = d->extraAreaHighlightCollapseColumn = -1; d->m_highlightBlocksInfo = BaseTextEditorPrivateHighlightBlocks(); } - + slotCursorPositionChanged(); viewport()->update(); extraArea()->update(); |