diff options
| author | MichaelTheShifter <[email protected]> | 2016-07-19 14:04:41 -0400 |
|---|---|---|
| committer | MichaelTheShifter <[email protected]> | 2016-07-19 14:04:41 -0400 |
| commit | 9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (patch) | |
| tree | 6a7d1d82df076b285c2376ac2e18354dd7416725 /source/WindowsFormsApplication1/Controls | |
| parent | 98fe96c5d3e5ee1bb3b2eaa38c9346977b4ad713 (diff) | |
| download | shiftos-c--9322701aa1eae9596a8586ef19a0fe1d1b3ab66b.tar.gz shiftos-c--9322701aa1eae9596a8586ef19a0fe1d1b3ab66b.tar.bz2 shiftos-c--9322701aa1eae9596a8586ef19a0fe1d1b3ab66b.zip | |
Initial commit.
Diffstat (limited to 'source/WindowsFormsApplication1/Controls')
| -rw-r--r-- | source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs b/source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs index 1139096..d973303 100644 --- a/source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs +++ b/source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs @@ -51,7 +51,7 @@ namespace ShiftOS public void SetLanguage(SyntaxSettings.Language lang) { Color white = Color.Black; - Color keyword = Color.Red; + Color keyword = Color.Orange; Color integer = Color.LightGreen; Color comment = Color.DarkGray; Color str = Color.Orange; @@ -76,7 +76,7 @@ namespace ShiftOS switch (lang) { case SyntaxSettings.Language.Lua: - var kw = new List<string>() { "function", "local", "return", "if", "else", "elseif", "while", "true", "do", "next", "end", "for", "pairs", "in", "{", "}", "false", "=", "+", "-", "/", "*", "..", "," }; + var kw = new List<string>() { "function", "then", "local", "return", "if", "else", "elseif", "while", "true", "do", "next", "end", "for", "pairs", "in", "{", "}", "false", "=", "+", "-", "/", "*", "..", "," }; Settings.Keywords.Clear(); foreach (var k in kw) { |
