aboutsummaryrefslogtreecommitdiff
path: root/properties.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2015-07-25 10:25:26 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2015-07-25 10:25:26 -0400
commit473382638da565c890fcf8e6119f95dbdf918973 (patch)
treea0c996ece7bc479dc5743d8ed27fdb96ac101c32 /properties.lua
parentc883f5126cbcd2322a6deda024f8c99ed20e8a86 (diff)
downloadtextadept-473382638da565c890fcf8e6119f95dbdf918973.tar.gz
textadept-473382638da565c890fcf8e6119f95dbdf918973.zip
Highlight found text in find in files results.
Diffstat (limited to 'properties.lua')
-rw-r--r--properties.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/properties.lua b/properties.lua
index 9133e24a..c534b57b 100644
--- a/properties.lua
+++ b/properties.lua
@@ -123,6 +123,8 @@ buffer:marker_define(buffer.MARKNUM_FOLDERMIDTAIL, buffer.MARK_TCORNER)
--buffer:marker_enable_highlight(true)
-- Indicators.
+buffer.indic_style[ui.find.INDIC_FIND] = buffer.INDIC_ROUNDBOX
+if not CURSES then buffer.indic_under[ui.find.INDIC_FIND] = true end
local INDIC_BRACEMATCH = textadept.editing.INDIC_BRACEMATCH
buffer.indic_style[INDIC_BRACEMATCH] = buffer.INDIC_BOX
buffer:brace_highlight_indicator(not CURSES, INDIC_BRACEMATCH)