mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-26 00:06:49 -06:00
#926 Eclipse Input Data : Added support for display of keyword names of more than eight characters
This commit is contained in:
parent
5dbe2d322d
commit
4642e7abcd
@ -277,6 +277,9 @@ bool RifEclipseInputFileTools::readProperty(const QString& fileName, RigCaseData
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RifEclipseInputFileTools::readDataFromKeyword(ecl_kw_type* eclipseKeywordData, RigCaseData* caseData, const QString& resultName)
|
||||
{
|
||||
CVF_ASSERT(caseData);
|
||||
CVF_ASSERT(eclipseKeywordData);
|
||||
|
||||
bool mathingItemCount = false;
|
||||
{
|
||||
int itemCount = ecl_kw_get_size(eclipseKeywordData);
|
||||
@ -336,7 +339,7 @@ void RifEclipseInputFileTools::findKeywordsOnFile(const QString &fileName, std::
|
||||
|
||||
filepos = data.pos() - lineLength;
|
||||
keyPos.filePos = filepos;
|
||||
keyPos.keyword = line.left(8).trimmed();
|
||||
keyPos.keyword = line.trimmed();
|
||||
keywords->push_back(keyPos);
|
||||
//qDebug() << keyPos.keyword << " - " << keyPos.filePos;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user