Fix: Find function reports code with a line offset of 1 (#6331)
Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com>
This commit is contained in:
@@ -610,7 +610,7 @@ namespace LUAEditor
|
||||
{
|
||||
m_resultList[qAssetName].m_assetId = docInfo.m_assetId;
|
||||
}
|
||||
entry.m_lineNumber = line;
|
||||
entry.m_lineNumber = line + 1;
|
||||
entry.m_lineText = entry.m_lineText.trimmed();
|
||||
|
||||
while (index > -1)
|
||||
|
||||
Reference in New Issue
Block a user