data: improvements on error management

* mark all files with errors as incomplete
* fix incomplete label in codeview tooltip not updated properly
* added setting for canceling indexing for files with fatal errors
This commit is contained in:
Eberhard Graether
2017-04-15 17:57:20 +02:00
parent 8dc5ac7cbe
commit 6cd6552343
16 changed files with 100 additions and 14 deletions
+11
View File
@@ -73,6 +73,7 @@ std::string ParserClient::addLocationSuffix(
ParserClient::ParserClient()
: m_hasFatalErrors(false)
, m_cancelOnFatalErrors(false)
{
}
@@ -94,3 +95,13 @@ bool ParserClient::hasFatalErrors() const
{
return m_hasFatalErrors;
}
bool ParserClient::cancelOnFatalErrors() const
{
return m_cancelOnFatalErrors;
}
void ParserClient::setCancelOnFatalErrors(bool cancelOnFatalErrors)
{
m_cancelOnFatalErrors = cancelOnFatalErrors;
}