Don't remove syntax errors on each document change

Especially when several error markers exist, the flashing this causes
while editing isn't really nice.

Reviewed-by: Roberto Raggi
This commit is contained in:
Thorbjørn Lindeijer
2009-02-11 14:42:23 +01:00
parent f3c2bbaabe
commit dd54cc6a7a
3 changed files with 0 additions and 10 deletions

View File

@@ -717,8 +717,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());