Skip to content

Instantly share code, notes, and snippets.

@mscdex
Created February 25, 2016 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mscdex/35ccffa0e10beb93fbd8 to your computer and use it in GitHub Desktop.
Save mscdex/35ccffa0e10beb93fbd8 to your computer and use it in GitHub Desktop.
From d02fbf7d1fb08d3c85c841fd85931924109a7ede Mon Sep 17 00:00:00 2001
Message-Id: <d02fbf7d1fb08d3c85c841fd85931924109a7ede.1456371677.git.mscdex@mscdex.net>
From: Brian White <mscdex@mscdex.net>
Date: Wed, 24 Feb 2016 22:41:10 -0500
Subject: [PATCH] alpha test
---
src/highlighting.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/highlighting.c b/src/highlighting.c
index 0a700b6..04f72af 100644
--- a/src/highlighting.c
+++ b/src/highlighting.c
@@ -652,10 +652,10 @@ static void styleset_common(ScintillaObject *sci, guint ft_id)
SSM(sci, SCI_INDICSETFORE, GEANY_INDICATOR_ERROR, invert(0x0000FF /* red, in BGR */));
/* Search indicator, used for 'Mark' matches */
- SSM(sci, SCI_INDICSETSTYLE, GEANY_INDICATOR_SEARCH, INDIC_ROUNDBOX);
- SSM(sci, SCI_INDICSETFORE, GEANY_INDICATOR_SEARCH,
- invert(common_style_set.styling[GCS_MARKER_SEARCH].background));
- SSM(sci, SCI_INDICSETALPHA, GEANY_INDICATOR_SEARCH, 60);
+ SSM(sci, SCI_INDICSETSTYLE, GEANY_INDICATOR_SEARCH, INDIC_ROUNDBOX);
+ SSM(sci, SCI_INDICSETFORE, GEANY_INDICATOR_SEARCH, invert(0x00FF00) /* green, in BGR */);
+ SSM(sci, SCI_INDICSETALPHA, GEANY_INDICATOR_SEARCH, 255);
+ SSM(sci, SCI_INDICSETOUTLINEALPHA, GEANY_INDICATOR_SEARCH, 255);
/* define marker symbols
* 0 -> line marker */
--
2.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment