diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2008-08-09 15:03:19 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2008-08-09 15:03:19 -0400 |
commit | eb0abec9ee98dd8904a5ead4b541d6ead3160db6 (patch) | |
tree | 7bba1431218e88f224d96dd5e104c3c133194e70 /themes | |
parent | 31fdec6680121f6b53972b55bd6cef0858ee4a65 (diff) |
Added SciTE theme for Textadept; themes/scite.lua
Diffstat (limited to 'themes')
-rw-r--r-- | themes/scite.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/themes/scite.lua b/themes/scite.lua new file mode 100644 index 00000000..3a1c2576 --- /dev/null +++ b/themes/scite.lua @@ -0,0 +1,27 @@ +-- Copyright 2007-2008 Mitchell mitchell<att>caladbolg.net. See LICENSE. +-- SciTE editor theme for Textadept. + +local buffer, c = buffer, textadept.constants + +buffer.margin_width_n[0] = 4 * buffer:text_width(c.STYLE_LINENUMBER, "9") + +buffer.caret_period = 500 + +-- fold margin +buffer.margin_type_n[2] = c.SC_MARGIN_SYMBOL +buffer.margin_width_n[2] = 16 +buffer.margin_mask_n[2] = c.SC_MASK_FOLDERS +buffer.margin_sensitive_n[2] = true + +-- fold margin markers +buffer:marker_define(c.SC_MARKNUM_FOLDEROPEN, c.SC_MARK_MINUS) +buffer:marker_set_fore(c.SC_MARKNUM_FOLDEROPEN, 16777215) +buffer:marker_set_back(c.SC_MARKNUM_FOLDEROPEN, 0) +buffer:marker_define(c.SC_MARKNUM_FOLDER, c.SC_MARK_PLUS) +buffer:marker_set_fore(c.SC_MARKNUM_FOLDER, 16777215) +buffer:marker_set_back(c.SC_MARKNUM_FOLDER, 0) +buffer:marker_define(c.SC_MARKNUM_FOLDERSUB, c.SC_MARK_EMPTY) +buffer:marker_define(c.SC_MARKNUM_FOLDERTAIL, c.SC_MARK_EMPTY) +buffer:marker_define(c.SC_MARKNUM_FOLDEREND, c.SC_MARK_EMPTY) +buffer:marker_define(c.SC_MARKNUM_FOLDEROPENMID, c.SC_MARK_EMPTY) +buffer:marker_define(c.SC_MARKNUM_FOLDERMIDTAIL, c.SC_MARK_EMPTY) |