aboutsummaryrefslogtreecommitdiff
path: root/themes/scite
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-11-23 19:09:21 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2010-11-23 19:09:21 -0500
commit5f29cb8190dbee6bb10b4eb904c8c39750de352d (patch)
treeef9d178b4834087d829702d4894ec3b9330f3c0b /themes/scite
parent1f3bbef0357b89f82a65d1e67caa1980eee3f40b (diff)
downloadtextadept-5f29cb8190dbee6bb10b4eb904c8c39750de352d.tar.gz
textadept-5f29cb8190dbee6bb10b4eb904c8c39750de352d.zip
Code cleanup.
Also modified the editing module's enclose() and select_enclosed() functions.
Diffstat (limited to 'themes/scite')
-rw-r--r--themes/scite/buffer.lua6
-rw-r--r--themes/scite/view.lua4
2 files changed, 5 insertions, 5 deletions
diff --git a/themes/scite/buffer.lua b/themes/scite/buffer.lua
index a93116db..d22dd934 100644
--- a/themes/scite/buffer.lua
+++ b/themes/scite/buffer.lua
@@ -3,11 +3,11 @@
local buffer = buffer
--- folding
+-- Folding.
buffer.property['fold'] = '1'
buffer.property['fold.by.indentation'] = '1'
--- tabs and indentation
+-- Tabs and indentation.
buffer.tab_width = 2
buffer.use_tabs = false
buffer.indent = 2
@@ -15,6 +15,6 @@ buffer.tab_indents = true
buffer.back_space_un_indents = true
buffer.indentation_guides = 1
--- various
+-- Various.
buffer.auto_c_choose_single = true
buffer.additional_selection_typing = true
diff --git a/themes/scite/view.lua b/themes/scite/view.lua
index d612377d..71b4be2f 100644
--- a/themes/scite/view.lua
+++ b/themes/scite/view.lua
@@ -8,13 +8,13 @@ buffer.margin_width_n[0] = 4 * buffer:text_width(c.STYLE_LINENUMBER, "9")
buffer.caret_period = 500
--- fold margin
+-- 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
+-- 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)