Currently only the first range is shown.
The documentation contains an example of the source code view with one range highlighted: https://github.com/jenkinsci/warnings-ng-plugin/blob/master/doc/Documentation.md#source-code-view
Basically, the try block (see SourcePrinter) needs to be wrapped into a loop over the existing lineRanges of an issue.