diff options
author | Christian Kandeler <[email protected]> | 2024-05-31 12:32:33 +0200 |
---|---|---|
committer | Christian Kandeler <[email protected]> | 2024-05-31 13:04:27 +0000 |
commit | 36f2a21f2d5260766e90e5e56f711a8a2d0db284 (patch) | |
tree | 99f9c013614897f7643d15423ff512ad98db20d6 /src/plugins/nim | |
parent | 45702941f8fe72635d7663253993361a20aebd40 (diff) |
ProjectExplorer: Support column numbers in file path linkification
... for task details.
As a result, clicking on a linkified file path inside a task in the issues
pane will now open the editor at the column specified in the compiler
output, if there is one. We used to consider only the line.
Change-Id: Idccba33b5b33029abfa8f29c7888af6c7f2e1622
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/nim')
-rw-r--r-- | src/plugins/nim/project/nimoutputtaskparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nim/project/nimoutputtaskparser.cpp b/src/plugins/nim/project/nimoutputtaskparser.cpp index 31fc1e8e77a..1fde71d3c21 100644 --- a/src/plugins/nim/project/nimoutputtaskparser.cpp +++ b/src/plugins/nim/project/nimoutputtaskparser.cpp @@ -39,7 +39,7 @@ NimParser::Result NimParser::handleLine(const QString &lne, OutputFormat) const CompileTask t(type, message, absoluteFilePath(FilePath::fromUserInput(filename)), lineNumber); LinkSpecs linkSpecs; - addLinkSpecForAbsoluteFilePath(linkSpecs, t.file, t.line, match, 1); + addLinkSpecForAbsoluteFilePath(linkSpecs, t.file, t.line, t.column, match, 1); scheduleTask(t, 1); return {Status::Done, linkSpecs}; } |