aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2011-02-07 17:51:08 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2011-02-07 17:51:08 -0500
commit5c70f4d57771b6f92ed05661e723958e15c42530 (patch)
tree16c800a79e8aa990076031b4ddacbfe4f0522df9 /themes
parentbb334d72e3dff3d4bdb4f3605795d2a8b6b29e7f (diff)
Use line margin width of 4 for themes.
Diffstat (limited to 'themes')
-rwxr-xr-xthemes/dark/view.lua3
-rwxr-xr-xthemes/light/view.lua3
-rwxr-xr-xthemes/scite/view.lua2
3 files changed, 3 insertions, 5 deletions
diff --git a/themes/dark/view.lua b/themes/dark/view.lua
index f6a995c0..9029a8f5 100755
--- a/themes/dark/view.lua
+++ b/themes/dark/view.lua
@@ -52,8 +52,7 @@ buffer.caret_line_back = 4473924 -- 0x44 | 0x44 << 8 | 0x44 << 16
--buffer.caret_sticky = 1
-- Line Number Margin.
-buffer.margin_width_n[0] = 4 + 3 *
- buffer:text_width(c.STYLE_LINENUMBER, '9')
+buffer.margin_width_n[0] = 4 + 4 * buffer:text_width(c.STYLE_LINENUMBER, '9')
-- Marker Margin.
buffer.margin_width_n[1] = 0 -- marker margin invisible
diff --git a/themes/light/view.lua b/themes/light/view.lua
index 3d055139..7bf0f7f9 100755
--- a/themes/light/view.lua
+++ b/themes/light/view.lua
@@ -52,8 +52,7 @@ buffer.caret_line_back = 14540253 -- 0xDD | 0xDD << 8 | 0xDD << 16
--buffer.caret_sticky = 1
-- Line Number Margin.
-buffer.margin_width_n[0] = 4 + 3 *
- buffer:text_width(c.STYLE_LINENUMBER, '9')
+buffer.margin_width_n[0] = 4 + 4 * buffer:text_width(c.STYLE_LINENUMBER, '9')
-- Marker Margin.
buffer.margin_width_n[1] = 0 -- marker margin invisible
diff --git a/themes/scite/view.lua b/themes/scite/view.lua
index 57d09e0a..79e86caf 100755
--- a/themes/scite/view.lua
+++ b/themes/scite/view.lua
@@ -52,7 +52,7 @@ buffer:set_y_caret_policy(13, 1) -- CARET_SLOP | CARET_STRICT | CARET_EVEN
--buffer.caret_sticky = 1
-- Line Number Margin.
-buffer.margin_width_n[0] = 4 * buffer:text_width(c.STYLE_LINENUMBER, "9")
+buffer.margin_width_n[0] = 4 + 4 * buffer:text_width(c.STYLE_LINENUMBER, "9")
-- Marker Margin.
--buffer.margin_width_n[1] = 0