aboutsummaryrefslogtreecommitdiff
path: root/properties.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2016-10-19 17:01:10 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2016-10-19 17:01:10 -0400
commita61c388d38cf507fd0e5e8de5baae97ed45f4d59 (patch)
tree17b19a7b9e04f9aa17023479a9067a643ce499ab /properties.lua
parentffa6e98d0f1e4bc5d44ad57ac375cd85fc0c9fdc (diff)
downloadtextadept-a61c388d38cf507fd0e5e8de5baae97ed45f4d59.tar.gz
textadept-a61c388d38cf507fd0e5e8de5baae97ed45f4d59.zip
Updated to Scintilla 3.7.0.
Diffstat (limited to 'properties.lua')
-rw-r--r--properties.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/properties.lua b/properties.lua
index c33e70fc..9f27883b 100644
--- a/properties.lua
+++ b/properties.lua
@@ -59,7 +59,7 @@ buffer.margin_width_n[1] = not CURSES and 4 or 1
buffer.margin_width_n[2] = not CURSES and 12 or 1
buffer.margin_mask_n[2] = buffer.MASK_FOLDERS
-- Other Margins.
-for i = 1, 4 do
+for i = 1, buffer.margins - 1 do
buffer.margin_type_n[i] = buffer.MARGIN_SYMBOL
buffer.margin_sensitive_n[i] = true
buffer.margin_cursor_n[i] = buffer.CURSORARROW