diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-05-12 11:37:30 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2016-05-12 15:19:59 +0200 |
commit | f35b6148731dd11734e57d73dd1cfc182de58b12 (patch) | |
tree | f33cb810c0bfc674fd95ae0b186ecbd23dfeaa3a /sonar-plugin-api | |
parent | d8845c6f438cee268fa4268a6a6503c54330bdda (diff) | |
download | sonarqube-f35b6148731dd11734e57d73dd1cfc182de58b12.tar.gz sonarqube-f35b6148731dd11734e57d73dd1cfc182de58b12.zip |
SONAR-7509 Backport on old API to ease migration
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/source/Highlightable.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/source/Highlightable.java b/sonar-plugin-api/src/main/java/org/sonar/api/source/Highlightable.java index 4230b2ccdee..5171dec0ae9 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/source/Highlightable.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/source/Highlightable.java @@ -36,6 +36,11 @@ public interface Highlightable extends Perspective { HighlightingBuilder highlight(int startOffset, int endOffset, String typeOfText); + /** + * @since 5.6 + */ + HighlightingBuilder highlight(int startLine, int startLineOffset, int endLine, int endLineOffset, String typeOfText); + void done(); } |