From f35b6148731dd11734e57d73dd1cfc182de58b12 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Thu, 12 May 2016 11:37:30 +0200 Subject: SONAR-7509 Backport on old API to ease migration --- .../src/main/java/org/sonar/api/source/Highlightable.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sonar-plugin-api') 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(); } -- cgit v1.2.3