From 473382638da565c890fcf8e6119f95dbdf918973 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 25 Jul 2015 10:25:26 -0400 Subject: Highlight found text in find in files results. --- themes/dark.lua | 4 +++- themes/light.lua | 2 ++ themes/term.lua | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/dark.lua b/themes/dark.lua index 3de9e2d6..84c25c64 100644 --- a/themes/dark.lua +++ b/themes/dark.lua @@ -20,7 +20,7 @@ property['color.dark_white'] = 0xCCCCCC -- Dark colors. --property['color.dark_red'] = 0x1A1A66 ---property['color.dark_yellow'] = 0x1A6666 +property['color.dark_yellow'] = 0x1A6666 --property['color.dark_green'] = 0x1A661A --property['color.dark_teal'] = 0x66661A --property['color.dark_purple'] = 0x661A66 @@ -119,6 +119,8 @@ for i = 25, 31 do -- fold margin markers end -- Indicators. +buffer.indic_fore[ui.find.INDIC_FIND] = property_int['color.dark_yellow'] +buffer.indic_alpha[ui.find.INDIC_FIND] = 255 local INDIC_BRACEMATCH = textadept.editing.INDIC_BRACEMATCH buffer.indic_fore[INDIC_BRACEMATCH] = property_int['color.light_grey'] local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT diff --git a/themes/light.lua b/themes/light.lua index 18f19e3f..ac45310c 100644 --- a/themes/light.lua +++ b/themes/light.lua @@ -119,6 +119,8 @@ for i = 25, 31 do -- fold margin markers end -- Indicators. +buffer.indic_fore[ui.find.INDIC_FIND] = property_int['color.yellow'] +buffer.indic_alpha[ui.find.INDIC_FIND] = 255 local INDIC_BRACEMATCH = textadept.editing.INDIC_BRACEMATCH buffer.indic_fore[INDIC_BRACEMATCH] = property_int['color.grey'] local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT diff --git a/themes/term.lua b/themes/term.lua index c3701e9b..b99e870b 100644 --- a/themes/term.lua +++ b/themes/term.lua @@ -76,6 +76,7 @@ buffer.marker_back[textadept.run.MARK_WARNING] = property_int['color.yellow'] buffer.marker_back[textadept.run.MARK_ERROR] = property_int['color.red'] -- Indicators. +buffer.indic_fore[ui.find.INDIC_FIND] = property_int['color.yellow'] local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT buffer.indic_fore[INDIC_HIGHLIGHT] = property_int['color.yellow'] -- cgit v1.2.3