aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
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();
}