[textadept][code] buffer.indic_style[INDIC_BRACEMATCH] don't work before run 'reset()'

From: chanble <chanble_cn.att.163.com>
Date: Wed, 13 May 2015 11:26:12 +0800 (CST)

Hi,
    I change brace match and highlight style in my theme, but It's not work. When I ran 'reset()'(ctrl+e) in textadept, It's works.Why?
    Is that wrong? Where should I insert in theme file or other file(eg. init.lua)?
    os:ubuntu 14.04, textadept:8.0

   code:
```lua
 -- Indicators.
local INDIC_BRACEMATCH = textadept.editing.INDIC_BRACEMATCH
buffer.indic_fore[INDIC_BRACEMATCH] = property_int['color.base0B']
buffer.indic_style[INDIC_BRACEMATCH] = buffer.INDIC_DOTBOX
buffer.indic_alpha[INDIC_BRACEMATCH] = 255
buffer.indic_outline_alpha[INDIC_BRACEMATCH] = 100
local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT
buffer.indic_fore[INDIC_HIGHLIGHT] = property_int['color.base04']
buffer.indic_alpha[INDIC_HIGHLIGHT] = 255
buffer.indic_style[INDIC_HIGHLIGHT] = buffer.INDIC_BOX
```
theme url https://github.com/chanble/ta-theme-monokai
 --Chen Bo
 --
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 12 May 2015 - 23:26:12 EDT

This archive was generated by hypermail 2.2.0 : Wed 13 May 2015 - 06:29:08 EDT