From 9322701aa1eae9596a8586ef19a0fe1d1b3ab66b Mon Sep 17 00:00:00 2001 From: MichaelTheShifter Date: Tue, 19 Jul 2016 14:04:41 -0400 Subject: Initial commit. --- source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/WindowsFormsApplication1/Controls') 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() { "function", "local", "return", "if", "else", "elseif", "while", "true", "do", "next", "end", "for", "pairs", "in", "{", "}", "false", "=", "+", "-", "/", "*", "..", "," }; + var kw = new List() { "function", "then", "local", "return", "if", "else", "elseif", "while", "true", "do", "next", "end", "for", "pairs", "in", "{", "}", "false", "=", "+", "-", "/", "*", "..", "," }; Settings.Keywords.Clear(); foreach (var k in kw) { -- cgit v1.2.3