diff options
| author | 2013-10-09 00:24:58 -0400 | |
|---|---|---|
| committer | 2013-10-09 00:24:58 -0400 | |
| commit | a488a97c9eb58d8e9db224f3793c74f23d26b07e (patch) | |
| tree | 16105cf5b2a2e0f8ab583a7cff483aff34c82a2c /modules | |
| parent | 098be412f70bb6722c6751b70f939f08f70e196d (diff) | |
| download | textadept-a488a97c9eb58d8e9db224f3793c74f23d26b07e.tar.gz textadept-a488a97c9eb58d8e9db224f3793c74f23d26b07e.zip | |
Use an indicator to highlight matching braces.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/textadept/editing.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index bb096b89..1335b8aa 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -27,6 +27,8 @@ local M = {} -- @field STRIP_TRAILING_SPACES (bool) -- Strip trailing whitespace before saving files. -- The default value is `true`. +-- @field INDIC_BRACEMATCH (number) +-- The matching brace highlight indicator number. -- @field INDIC_HIGHLIGHT (number) -- The word highlight indicator number. module('textadept.editing')]] @@ -36,6 +38,7 @@ M.HIGHLIGHT_BRACES = true M.TYPEOVER_CHARS = true M.AUTOINDENT = true M.STRIP_TRAILING_SPACES = true +M.INDIC_BRACEMATCH = _SCINTILLA.next_indic_number() M.INDIC_HIGHLIGHT = _SCINTILLA.next_indic_number() --- |
