From 7e24972b46264dfaa239b49e1a9ae7a7c5088e95 Mon Sep 17 00:00:00 2001 From: James Allen Date: Fri, 8 Aug 2014 14:01:30 +0100 Subject: [PATCH] Fix off by one error in track changes highlights --- .../aceEditor/highlights/HighlightsManager.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/web/public/coffee/ide/editor/directives/aceEditor/highlights/HighlightsManager.coffee b/services/web/public/coffee/ide/editor/directives/aceEditor/highlights/HighlightsManager.coffee index 0464f4325b..6173e053f7 100644 --- a/services/web/public/coffee/ide/editor/directives/aceEditor/highlights/HighlightsManager.coffee +++ b/services/web/public/coffee/ide/editor/directives/aceEditor/highlights/HighlightsManager.coffee @@ -216,7 +216,7 @@ define [ @_addMarkerWithCustomStyle( new Range( annotation.highlight.start.row, annotation.highlight.start.column, - annotation.highlight.end.row, annotation.highlight.end.column + 1 + annotation.highlight.end.row, annotation.highlight.end.column ), "annotation highlight", false, @@ -228,7 +228,7 @@ define [ @_addMarkerWithCustomStyle( new Range( annotation.strikeThrough.start.row, annotation.strikeThrough.start.column, - annotation.strikeThrough.end.row, annotation.strikeThrough.end.column + 1 + annotation.strikeThrough.end.row, annotation.strikeThrough.end.column ), "annotation strike-through-background", false, @@ -237,7 +237,7 @@ define [ @_addMarkerWithCustomStyle( new Range( annotation.strikeThrough.start.row, annotation.strikeThrough.start.column, - annotation.strikeThrough.end.row, annotation.strikeThrough.end.column + 1 + annotation.strikeThrough.end.row, annotation.strikeThrough.end.column ), "annotation strike-through-foreground", true,