diff options
Diffstat (limited to 'themes/scite')
-rwxr-xr-x | themes/scite/buffer.lua | 16 | ||||
-rw-r--r-- | themes/scite/lexer.lua | 63 | ||||
-rwxr-xr-x | themes/scite/view.lua | 119 |
3 files changed, 0 insertions, 198 deletions
diff --git a/themes/scite/buffer.lua b/themes/scite/buffer.lua deleted file mode 100755 index d6c5ba5d..00000000 --- a/themes/scite/buffer.lua +++ /dev/null @@ -1,16 +0,0 @@ --- Copyright 2007-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE. --- SciTE editor theme for Textadept. - -local buffer = buffer - --- Folding. -buffer.property['fold'] = '1' -buffer.property['fold.by.indentation'] = '1' -buffer.property['fold.line.comments'] = '0' - --- Tabs and Indentation. -buffer.tab_width = 2 -buffer.use_tabs = false -buffer.indent = 2 -buffer.tab_indents = true -buffer.back_space_un_indents = true diff --git a/themes/scite/lexer.lua b/themes/scite/lexer.lua deleted file mode 100644 index 49546be1..00000000 --- a/themes/scite/lexer.lua +++ /dev/null @@ -1,63 +0,0 @@ --- Copyright 2007-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE. --- SciTE lexer theme for Textadept. - --- Please note this theme is in a separate Lua state than Textadept's main one. --- This means the global variables like 'buffer', 'view', and 'gui' are not --- available here. Only the variables in the 'lexer' module are. - -module('lexer', package.seeall) - -colors = { - green = color('00', '7F', '00'), - blue = color('00', '00', '7F'), - red = color('7F', '00', '00'), - yellow = color('7F', '7F', '00'), - teal = color('00', '7F', '7F'), - white = color('FF', 'FF', 'FF'), - black = color('00', '00', '00'), - grey = color('80', '80', '80'), - purple = color('7F', '00', '7F'), - orange = color('B0', '7F', '00'), -} - -style_nothing = style { } -style_char = style { fore = colors.purple } -style_class = style { fore = colors.black, bold = true } -style_comment = style { fore = colors.green } -style_constant = style { fore = colors.teal, bold = true } -style_definition = style { fore = colors.black, bold = true } -style_error = style { fore = colors.red } -style_function = style { fore = colors.black, bold = true } -style_keyword = style { fore = colors.blue, bold = true } -style_number = style { fore = colors.teal } -style_operator = style { fore = colors.black, bold = true } -style_string = style { fore = colors.purple } -style_preproc = style { fore = colors.yellow } -style_tag = style { fore = colors.teal } -style_type = style { fore = colors.blue } -style_variable = style { fore = colors.black } -style_whitespace = style { } -style_identifier = style_nothing - --- Default styles. -local font_face = '!Monospace' -local font_size = 11 -if WIN32 then - font_face = '!Courier New' -elseif OSX then - font_face = '!Monaco' - font_size = 12 -end -style_default = style { - font = font_face, - size = font_size, - fore = colors.black, - back = colors.white, -} -style_line_number = style { back = color('C0', 'C0', 'C0') } -style_bracelight = style { fore = color('00', '00', 'FF'), bold = true } -style_bracebad = style { fore = color('FF', '00', '00'), bold = true } -style_controlchar = style_nothing -style_indentguide = style { fore = color('C0', 'C0', 'C0'), - back = colors.white } -style_calltip = style { fore = colors.white, back = color('44', '44', '44') } diff --git a/themes/scite/view.lua b/themes/scite/view.lua deleted file mode 100755 index 824ba219..00000000 --- a/themes/scite/view.lua +++ /dev/null @@ -1,119 +0,0 @@ --- Copyright 2007-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE. --- SciTE editor theme for Textadept. - -local c = _SCINTILLA.constants -local buffer = buffer - --- Multiple Selection and Virtual Space -buffer.multiple_selection = true -buffer.additional_selection_typing = true ---buffer.multi_paste = 1 ---buffer.virtual_space_options = 3 -if not WIN32 and not OSX then buffer.rectangular_selection_modifier = 8 end ---buffer.additional_sel_alpha = ---buffer.additional_sel_fore = ---buffer.additional_sel_back = ---buffer.additional_caret_fore = ---buffer.additional_carets_blink = false ---buffer.additional_carets_visible = false - --- Scrolling. -buffer:set_x_caret_policy(1, 20) -- CARET_SLOP -buffer:set_y_caret_policy(13, 1) -- CARET_SLOP | CARET_STRICT | CARET_EVEN ---buffer:set_visible_policy() ---buffer.h_scroll_bar = false ---buffer.v_scroll_bar = false ---buffer.x_offset = ---buffer.scroll_width = ---buffer.scroll_width_tracking = true ---buffer.end_at_last_line = false - --- Whitespace ---buffer.view_ws = 1 ---buffer.whitespace_size = ---buffer.extra_ascent = ---buffer.extra_descent = - --- Line Endings ---buffer.view_eol = true - --- Caret and Selection Styles. ---buffer:set_sel_fore() ---buffer:set_sel_back() ---buffer.sel_alpha = ---buffer.sel_eol_filled = true ---buffer.caret_fore = ---buffer.caret_line_visible = true ---buffer.caret_line_back = ---buffer.caret_line_back_alpha = ---buffer.caret_period = 0 ---buffer.caret_style = 2 ---buffer.caret_width = ---buffer.caret_sticky = 1 - --- Line Number Margin. -buffer.margin_width_n[0] = 4 + 4 * buffer:text_width(c.STYLE_LINENUMBER, "9") - --- Marker Margin. ---buffer.margin_width_n[1] = 0 - --- 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 ---buffer.margin_left = ---buffer.margin_right = ---buffer:set_fold_margin_colour() ---buffer:set_fold_margin_hi_colour() - --- Annotations. -buffer.annotation_visible = 2 - --- Other. ---buffer.buffered_draw = false ---buffer.two_phase_draw = false - --- Indentation Guides. -buffer.indentation_guides = 3 - --- 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) -buffer:marker_define(c.SC_MARKNUM_FOLDER, c.SC_MARK_PLUS) -buffer:marker_set_fore(c.SC_MARKNUM_FOLDER, 16777215) -buffer:marker_set_back(c.SC_MARKNUM_FOLDER, 0) -buffer:marker_define(c.SC_MARKNUM_FOLDERSUB, c.SC_MARK_EMPTY) -buffer:marker_define(c.SC_MARKNUM_FOLDERTAIL, c.SC_MARK_EMPTY) -buffer:marker_define(c.SC_MARKNUM_FOLDEREND, c.SC_MARK_EMPTY) -buffer:marker_define(c.SC_MARKNUM_FOLDEROPENMID, c.SC_MARK_EMPTY) -buffer:marker_define(c.SC_MARKNUM_FOLDERMIDTAIL, c.SC_MARK_EMPTY) - --- Autocompletion. ---buffer.auto_c_cancel_at_start = false -buffer.auto_c_choose_single = true ---buffer.auto_c_auto_hide = false ---buffer.auto_c_max_height = ---buffer.auto_c_max_width = - --- Call Tips. -buffer.call_tip_use_style = 0 - --- Folding. -buffer:set_fold_flags(16) - --- Line Wrapping. ---buffer.wrap_mode = 1 ---buffer.wrap_visual_flags = 1 ---buffer.wrap_visual_flags_location = 1 ---buffer.wrap_indent_mode = 1 ---buffer.wrap_start_indent = - --- Long Lines. ---buffer.edge_mode = 1 ---buffer.edge_column = 80 ---buffer.edge_colour = - --- Notifications. -buffer.mod_event_mask = c.SC_MOD_CHANGEFOLD |