aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-09-17 22:33:55 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-09-17 22:33:55 -0400
commitede1c449a14aa5c3d7da1bfacf168c6c4a220213 (patch)
tree622428c79b01a5c5f7de6ad626b0e5e7fa6e3a28
parenta274210f459e32c11c227f55c2cf7a9cb50af2ad (diff)
downloadtextadept-ede1c449a14aa5c3d7da1bfacf168c6c4a220213.tar.gz
textadept-ede1c449a14aa5c3d7da1bfacf168c6c4a220213.zip
Changed symbol marker margin settings; properties.lua
-rw-r--r--properties.lua11
1 files changed, 5 insertions, 6 deletions
diff --git a/properties.lua b/properties.lua
index 72f5a179..1798f59d 100644
--- a/properties.lua
+++ b/properties.lua
@@ -49,7 +49,7 @@ buffer.caret_line_visible_always = true
local width = 4 * buffer:text_width(buffer.STYLE_LINENUMBER, '9')
buffer.margin_width_n[0] = width + (not CURSES and 4 or 0)
-- Marker Margin.
-buffer.margin_width_n[1] = not CURSES and 12 or 1
+buffer.margin_width_n[1] = not CURSES and 4 or 1
buffer.margin_sensitive_n[1] = true
buffer.margin_cursor_n[1] = buffer.CURSORARROW
-- Fold Margin.
@@ -78,7 +78,7 @@ buffer.back_space_un_indents = true
buffer.indentation_guides = buffer.IV_LOOKBOTH
-- Margin Markers.
-local symbol = not CURSES and buffer.MARK_SMALLRECT or
+local symbol = not CURSES and buffer.MARK_FULLRECT or
buffer.MARK_CHARACTER + string.byte(' ')
buffer:marker_define(textadept.bookmarks.MARK_BOOKMARK, symbol)
buffer:marker_define(textadept.run.MARK_ERROR, symbol)
@@ -122,10 +122,9 @@ end
--buffer:marker_enable_highlight(true)
-- Indicators.
-buffer.indic_style[textadept.editing.INDIC_HIGHLIGHT] = buffer.INDIC_ROUNDBOX
-if not CURSES then
- buffer.indic_under[textadept.editing.INDIC_HIGHLIGHT] = true
-end
+local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT
+buffer.indic_style[INDIC_HIGHLIGHT] = buffer.INDIC_ROUNDBOX
+if not CURSES then buffer.indic_under[INDIC_HIGHLIGHT] = true end
-- Autocompletion.
--buffer.auto_c_cancel_at_start = false