diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-08-24 14:26:24 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-08-24 14:26:24 -0400 |
commit | 2052c77111051972d8171d27c8d4c501803e70d6 (patch) | |
tree | a38f24f35a3a4dc06f32eb365f439fc2b3918ea7 /themes | |
parent | 58e1d2b46d09b79ad9c43ae177057c8578294649 (diff) |
Include Scintilla constants in `buffer`s.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/dark.lua | 11 | ||||
-rw-r--r-- | themes/light.lua | 9 |
2 files changed, 10 insertions, 10 deletions
diff --git a/themes/dark.lua b/themes/dark.lua index b8ed32d5..59d0f950 100644 --- a/themes/dark.lua +++ b/themes/dark.lua @@ -108,11 +108,12 @@ buffer:set_fold_margin_colour(true, property_int['color.black']) buffer:set_fold_margin_hi_colour(true, property_int['color.black']) -- Fold Margin Markers. -local c = _SCINTILLA.constants -buffer.marker_fore[c.SC_MARKNUM_FOLDEROPEN] = property_int['color.dark_grey'] -buffer.marker_back[c.SC_MARKNUM_FOLDEROPEN] = property_int['color.dark_grey'] -buffer.marker_fore[c.SC_MARKNUM_FOLDER] = property_int['color.dark_grey'] -buffer.marker_back[c.SC_MARKNUM_FOLDER] = property_int['color.dark_grey'] +buffer.marker_fore[buffer.SC_MARKNUM_FOLDEROPEN] = + property_int['color.dark_grey'] +buffer.marker_back[buffer.SC_MARKNUM_FOLDEROPEN] = + property_int['color.dark_grey'] +buffer.marker_fore[buffer.SC_MARKNUM_FOLDER] = property_int['color.dark_grey'] +buffer.marker_back[buffer.SC_MARKNUM_FOLDER] = property_int['color.dark_grey'] -- Long Lines. buffer.edge_colour = property_int['color.dark_grey'] diff --git a/themes/light.lua b/themes/light.lua index 3e06e22d..619ef5cf 100644 --- a/themes/light.lua +++ b/themes/light.lua @@ -108,11 +108,10 @@ buffer:set_fold_margin_colour(true, property_int['color.white']) buffer:set_fold_margin_hi_colour(true, property_int['color.white']) -- Fold Margin Markers. -local c = _SCINTILLA.constants -buffer.marker_fore[c.SC_MARKNUM_FOLDEROPEN] = property_int['color.grey'] -buffer.marker_back[c.SC_MARKNUM_FOLDEROPEN] = property_int['color.grey'] -buffer.marker_fore[c.SC_MARKNUM_FOLDER] = property_int['color.grey'] -buffer.marker_back[c.SC_MARKNUM_FOLDER] = property_int['color.grey'] +buffer.marker_fore[buffer.SC_MARKNUM_FOLDEROPEN] = property_int['color.grey'] +buffer.marker_back[buffer.SC_MARKNUM_FOLDEROPEN] = property_int['color.grey'] +buffer.marker_fore[buffer.SC_MARKNUM_FOLDER] = property_int['color.grey'] +buffer.marker_back[buffer.SC_MARKNUM_FOLDER] = property_int['color.grey'] -- Long Lines. buffer.edge_colour = property_int['color.grey'] |