From a488a97c9eb58d8e9db224f3793c74f23d26b07e Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 9 Oct 2013 00:24:58 -0400 Subject: Use an indicator to highlight matching braces. --- themes/light.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'themes/light.lua') diff --git a/themes/light.lua b/themes/light.lua index b13cb0ed..52546980 100644 --- a/themes/light.lua +++ b/themes/light.lua @@ -63,9 +63,7 @@ end property['style.default'] = 'font:%(font),size:%(fontsize),'.. 'fore:%(color.light_black),back:%(color.white)' property['style.linenumber'] = 'fore:%(color.grey),back:%(color.white)' -property['style.bracelight'] = 'fore:%(color.light_blue)' -property['style.bracebad'] = 'fore:%(color.light_red)' -property['style.controlchar'] = '%(style.nothing)' +--property['style.controlchar'] = '%(style.nothing)' property['style.indentguide'] = 'fore:%(color.dark_white)' property['style.calltip'] = 'fore:%(color.light_black),back:%(color.dark_white)' @@ -121,6 +119,8 @@ for i = 25, 31 do -- fold margin markers end -- Indicators. +local INDIC_BRACEMATCH = textadept.editing.INDIC_BRACEMATCH +buffer.indic_fore[INDIC_BRACEMATCH] = property_int['color.grey'] local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT buffer.indic_fore[INDIC_HIGHLIGHT] = property_int['color.orange'] buffer.indic_alpha[INDIC_HIGHLIGHT] = 255 -- cgit v1.2.3