diff options
author | David Cho-Lerat <david.lerat@sonarsource.com> | 2022-11-29 17:26:51 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-12-01 20:03:12 +0000 |
commit | fd9fe4dba0dbb7c359613131e64e84110ea75a09 (patch) | |
tree | 539a99ec8cab0a0b8a3e831d2116f676712be777 /server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.ts | |
parent | 6c42508ad46f28bd0e3c29a245fcd095a9714e6f (diff) | |
download | sonarqube-fd9fe4dba0dbb7c359613131e64e84110ea75a09.tar.gz sonarqube-fd9fe4dba0dbb7c359613131e64e84110ea75a09.zip |
SONAR-17592 Code highlighting for issue messages and code locations
Diffstat (limited to 'server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.ts')
-rw-r--r-- | server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.ts b/server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.ts index 241e36ac4b2..8a39a3db3d1 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.ts +++ b/server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.ts @@ -51,6 +51,7 @@ export function getSecondaryIssueLocationsForLine( startLine: location.textRange.startLine, index: location.index, text: location.msg, + textFormatting: location.msgFormattings, })) : []; return [...locations, ...linearLocations]; |