aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-05-12 11:37:30 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2016-05-12 15:19:59 +0200
commitf35b6148731dd11734e57d73dd1cfc182de58b12 (patch)
treef33cb810c0bfc674fd95ae0b186ecbd23dfeaa3a /sonar-plugin-api
parentd8845c6f438cee268fa4268a6a6503c54330bdda (diff)
downloadsonarqube-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.java5
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();
}