From 28d47a84bb89ffa70c4dd6e426d6207ae29fdb1f Mon Sep 17 00:00:00 2001 From: Tobias Boege Date: Thu, 24 Jan 2013 19:38:13 +0000 Subject: [PATCH] [GB.EVAL.HIGHLIGHT] * NEW: Make the HighlightDiff class recognise hunks separated by the current `diff` command being echoed into the header. These can be (un)expanded in Editor now. git-svn-id: svn://localhost/gambas/trunk@5515 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- comp/src/gb.eval.highlight/.src/HighlightDiff.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comp/src/gb.eval.highlight/.src/HighlightDiff.module b/comp/src/gb.eval.highlight/.src/HighlightDiff.module index 72b45f589..3a53117c8 100644 --- a/comp/src/gb.eval.highlight/.src/HighlightDiff.module +++ b/comp/src/gb.eval.highlight/.src/HighlightDiff.module @@ -9,7 +9,7 @@ Public Sub Run() Highlight.ShowLimit = False - If Left$(sText, 6) = "Index:" Then + If Left$(sText, 6) = "Index:" Or Left$(sText, 4) = "diff" Then iState = Highlight.Keyword Highlight.ShowLimit = True Else If Left(sText, 3) = "===" Then