aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-07-19 14:04:41 -0400
committerMichaelTheShifter <[email protected]>2016-07-19 14:04:41 -0400
commit9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (patch)
tree6a7d1d82df076b285c2376ac2e18354dd7416725 /source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs
parent98fe96c5d3e5ee1bb3b2eaa38c9346977b4ad713 (diff)
downloadshiftos-c--9322701aa1eae9596a8586ef19a0fe1d1b3ab66b.tar.gz
shiftos-c--9322701aa1eae9596a8586ef19a0fe1d1b3ab66b.tar.bz2
shiftos-c--9322701aa1eae9596a8586ef19a0fe1d1b3ab66b.zip
Initial commit.
Diffstat (limited to 'source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs')
-rw-r--r--source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs4
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)
{