Merge branch '1.0.0'

This commit is contained in:
Thorbjørn Lindeijer
2009-02-11 15:26:49 +01:00
4 changed files with 1 additions and 11 deletions

View File

@@ -724,8 +724,6 @@ void CppModelManager::onDocumentUpdated(Document::Ptr doc)
continue;
else if (lines.contains(m.line()))
continue;
//else if (lines.size() == MAX_SELECTION_COUNT)
//break; // we're done.
lines.insert(m.line());

View File

@@ -168,10 +168,6 @@ private:
mutable QMutex mutex;
enum {
MAX_SELECTION_COUNT = 5
};
struct Editor {
QPointer<TextEditor::BaseTextEditor> widget;
QList<QTextEdit::ExtraSelection> selections;

View File

@@ -91,10 +91,6 @@ void CppEditorSupport::updateDocument()
const QList<QTextEdit::ExtraSelection> selections =
edit->extraSelections(TextEditor::BaseTextEditor::CodeWarningsSelection);
if (! selections.isEmpty())
edit->setExtraSelections(TextEditor::BaseTextEditor::CodeWarningsSelection,
QList<QTextEdit::ExtraSelection>());
_modelManager->stopEditorSelectionsUpdate();
}