Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,294  Location: Tampa, FL Thanks: 28 times Was thanked: 404 time(s) in 349 post(s)
|
Made several updates in 0.5.6.1 - see change log for details. NOTE: All Scintilla font/color values will be reset when you first run, since properties were changed around. Also, here are some themes: S+ Default
Code:/*---------------------------------------
S+ Default
---------------------------------------*/
// Default font name and size
sp_config.ScintillaFont = "Consolas";
sp_config.ScintillaFontSize = 10;
// Caret, blinking cursor
sp_config.ScintillaCaretColor = System.Drawing.Color.Black;
// Not generally visible
sp_config.ScintillaFontColor = System.Drawing.Color.Black;
// Main text editor background color
sp_config.ScintillaFontBackColor = System.Drawing.Color.White;
// Line number text color in margin
sp_config.ScintillaLineNumberColor = System.Drawing.Color.FromArgb(128, 128, 128);
sp_config.ScintillaLineNumberBackColor = System.Drawing.Color.FromArgb(220, 220, 220);
// Bookmark colors, used when marking all matches in Find window
sp_config.ScintillaMarkerColor = System.Drawing.Color.White;
sp_config.ScintillaMarkerBackColor = System.Drawing.Color.Blue;
// Folding colors, this is the +/- and lines when you want to collpase
// or expand a function, for example
sp_config.ScintillaFoldMarginColor = System.Drawing.Color.White;
sp_config.ScintillaFoldMarginHighlightColor = System.Drawing.Color.FromArgb(128, 128, 128);
// Background color for selected text
sp_config.ScintillaSelectionBackColor = System.Drawing.Color.LightGray;
// Default text colors, overridden by other lexer matches below
sp_config.ScintillaIdentifierColor = System.Drawing.Color.Black;
sp_config.ScintillaIdentifierBackColor = System.Drawing.Color.White;
// Keywords, like var, if, etc.
sp_config.ScintillaKeywordColor = System.Drawing.Color.Blue;
sp_config.ScintillaKeywordBackColor = System.Drawing.Color.White;
// Secondary keywords, generally things specific to S+ like host, sp, etc.
sp_config.ScintillaSecondaryKeywordColor = System.Drawing.Color.Magenta;
sp_config.ScintillaSecondaryKeywordBackColor = System.Drawing.Color.White;
// Numbers
sp_config.ScintillaNumberColor = System.Drawing.Color.Magenta;
sp_config.ScintillaNumberBackColor = System.Drawing.Color.White;
// Commented lines/sections
sp_config.ScintillaCommentColor = System.Drawing.Color.Green;
sp_config.ScintillaCommentBackColor = System.Drawing.Color.White;
// Operators, like = ; {} | &
sp_config.ScintillaOperatorColor = System.Drawing.Color.Olive;
sp_config.ScintillaOperatorBackColor = System.Drawing.Color.White;
// Text enclosed by ""
sp_config.ScintillaStringColor = System.Drawing.Color.DarkRed;
sp_config.ScintillaStringBackColor = System.Drawing.Color.White;
// Text enclosed by ''
sp_config.ScintillaCharacterColor = System.Drawing.Color.DarkRed;
sp_config.ScintillaCharacterBackColor = System.Drawing.Color.White;
// Class names, e.g. class Rectangle {} - Rectangle would use
// the colors below
sp_config.ScintillaClassColor = System.Drawing.Color.FromArgb(43, 145, 175);
sp_config.ScintillaClassBackColor = System.Drawing.Color.White;
sp_config.GestureThumbnailBackgroundColor = System.Drawing.SystemColors.Window;
sp_config.Save();
Visual Studio Dark
Code:/*---------------------------------------
VS Dark Theme (ish)
---------------------------------------*/
var mainBackColor = System.Drawing.Color.FromArgb(30, 30, 30);
var marginBackColor = System.Drawing.Color.FromArgb(51, 51, 51);
// Default font name and size
sp_config.ScintillaFont = "Consolas";
sp_config.ScintillaFontSize = 10;
// Caret, blinking cursor
sp_config.ScintillaCaretColor = System.Drawing.Color.White;
// Not generally visible
sp_config.ScintillaFontColor = System.Drawing.Color.FromArgb(220, 220, 220);
// Main text editor background color
sp_config.ScintillaFontBackColor = mainBackColor;
// Line number text color in margin
sp_config.ScintillaLineNumberColor = System.Drawing.Color.FromArgb(53, 145, 175);
sp_config.ScintillaLineNumberBackColor = marginBackColor;
// Bookmark colors, used when marking all matches in Find window
sp_config.ScintillaMarkerColor = System.Drawing.Color.White;
sp_config.ScintillaMarkerBackColor = System.Drawing.Color.Blue;
// Folding colors, this is the +/- and lines when you want to collpase
// or expand a function, for example
sp_config.ScintillaFoldMarginColor = System.Drawing.Color.FromArgb(65, 65, 65);
sp_config.ScintillaFoldMarginHighlightColor = System.Drawing.Color.FromArgb(168, 168, 168);
// Background color for selected text
sp_config.ScintillaSelectionBackColor = System.Drawing.Color.FromArgb(80, 80, 80);
// Default text colors, overridden by other lexer matches below
sp_config.ScintillaIdentifierColor = System.Drawing.Color.FromArgb(220, 220, 220);
sp_config.ScintillaIdentifierBackColor = mainBackColor;
// Keywords, like var, if, etc.
sp_config.ScintillaKeywordColor = System.Drawing.Color.FromArgb(86, 156, 214);
sp_config.ScintillaKeywordBackColor = mainBackColor;
// Secondary keywords, generally things specific to S+ like host, sp, etc.
sp_config.ScintillaSecondaryKeywordColor = System.Drawing.Color.FromArgb(78, 201, 176);
sp_config.ScintillaSecondaryKeywordBackColor = mainBackColor;
// Numbers
sp_config.ScintillaNumberColor = System.Drawing.Color.FromArgb(181, 206, 168);
sp_config.ScintillaNumberBackColor = mainBackColor;
// Commented lines/sections
sp_config.ScintillaCommentColor = System.Drawing.Color.FromArgb(87, 166, 74);
sp_config.ScintillaCommentBackColor = mainBackColor;
// Operators, like = ; {} | &
sp_config.ScintillaOperatorColor = System.Drawing.Color.FromArgb(180, 180, 180);
sp_config.ScintillaOperatorBackColor = mainBackColor;
// Text enclosed by ""
sp_config.ScintillaStringColor = System.Drawing.Color.FromArgb(214, 157, 133);
sp_config.ScintillaStringBackColor = mainBackColor;
// Text enclosed by ''
sp_config.ScintillaCharacterColor = System.Drawing.Color.FromArgb(214, 157, 133);
sp_config.ScintillaCharacterBackColor = mainBackColor;
// Class names, e.g. class Rectangle {} - Rectangle would use
// the colors below
sp_config.ScintillaClassColor = System.Drawing.Color.FromArgb(78, 201, 176);
sp_config.ScintillaClassBackColor = mainBackColor;
// Sets the background color of the gesture thumbnail in the action editor
sp_config.GestureThumbnailBackgroundColor = mainBackColor;
sp_config.Save();
Visual Studio Light
Code:/*---------------------------------------
VS Light Theme (ish)
---------------------------------------*/
var mainBackColor = System.Drawing.Color.FromArgb(255, 255, 255);
var marginBackColor = System.Drawing.Color.FromArgb(230, 231, 232);
// Default font name and size
sp_config.ScintillaFont = "Consolas";
sp_config.ScintillaFontSize = 10;
// Caret, blinking cursor
sp_config.ScintillaCaretColor = System.Drawing.Color.White;
// Not generally visible
sp_config.ScintillaFontColor = System.Drawing.Color.FromArgb(220, 220, 220);
// Main text editor background color
sp_config.ScintillaFontBackColor = mainBackColor;
// Line number text color in margin
sp_config.ScintillaLineNumberColor = System.Drawing.Color.FromArgb(43, 145, 175);
sp_config.ScintillaLineNumberBackColor = marginBackColor;
// Bookmark colors, used when marking all matches in Find window
sp_config.ScintillaMarkerColor = System.Drawing.Color.White;
sp_config.ScintillaMarkerBackColor = System.Drawing.Color.Blue;
// Folding colors, this is the +/- and lines when you want to collpase
// or expand a function, for example
sp_config.ScintillaFoldMarginColor = marginBackColor;
sp_config.ScintillaFoldMarginHighlightColor = System.Drawing.Color.FromArgb(128, 128, 128);
// Background color for selected text
sp_config.ScintillaSelectionBackColor = System.Drawing.Color.FromArgb(192, 192, 192);
// Default text colors, overridden by other lexer matches below
sp_config.ScintillaIdentifierColor = System.Drawing.Color.FromArgb(0, 0, 0);
sp_config.ScintillaIdentifierBackColor = mainBackColor;
// Keywords, like var, if, etc.
sp_config.ScintillaKeywordColor = System.Drawing.Color.FromArgb(0, 0, 255);
sp_config.ScintillaKeywordBackColor = mainBackColor;
// Secondary keywords, generally things specific to S+ like host, sp, etc.
sp_config.ScintillaSecondaryKeywordColor = System.Drawing.Color.FromArgb(43, 145, 175);
sp_config.ScintillaSecondaryKeywordBackColor = mainBackColor;
// Numbers
sp_config.ScintillaNumberColor = System.Drawing.Color.FromArgb(181, 206, 168);
sp_config.ScintillaNumberBackColor = mainBackColor;
// Commented lines/sections
sp_config.ScintillaCommentColor = System.Drawing.Color.FromArgb(0, 128, 0);
sp_config.ScintillaCommentBackColor = mainBackColor;
// Operators, like = ; {} | &
sp_config.ScintillaOperatorColor = System.Drawing.Color.FromArgb(0, 0, 0);
sp_config.ScintillaOperatorBackColor = mainBackColor;
// Text enclosed by ""
sp_config.ScintillaStringColor = System.Drawing.Color.FromArgb(163, 21, 21);
sp_config.ScintillaStringBackColor = mainBackColor;
// Text enclosed by ''
sp_config.ScintillaCharacterColor = System.Drawing.Color.FromArgb(163, 21, 21);
sp_config.ScintillaCharacterBackColor = mainBackColor;
// Class names, e.g. class Rectangle {} - Rectangle would use
// the colors below
sp_config.ScintillaClassColor = System.Drawing.Color.FromArgb(43, 145, 175);
sp_config.ScintillaClassBackColor = mainBackColor;
// Sets the background color of the gesture thumbnail in the action editor
sp_config.GestureThumbnailBackgroundColor = mainBackColor;
sp_config.Save();
|