From 81775e04417d7ac9c33640240b06ba324da7b862 Mon Sep 17 00:00:00 2001 From: routersys Date: Wed, 24 Jun 2026 21:49:58 +0900 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E3=83=86=E3=83=BC=E3=83=9E=E3=81=AE?= =?UTF-8?q?=E3=82=B7=E3=83=B3=E3=82=BF=E3=83=83=E3=82=AF=E3=82=B9=E5=AE=9A?= =?UTF-8?q?=E7=BE=A9=E3=82=92=E8=BF=BD=E5=8A=A0=E3=81=97=E3=80=81=E3=82=A8?= =?UTF-8?q?=E3=83=87=E3=82=A3=E3=82=BF=E8=A1=A8=E7=A4=BA=E6=99=82=E3=81=AE?= =?UTF-8?q?=E4=BE=8B=E5=A4=96=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaScript/LuaScript.csproj | 4 +- .../SyntaxDefinitions/Lua-Black.xshd | 62 +++++++++++++++++++ .../SyntaxDefinitions/Lua-Windows.xshd | 62 +++++++++++++++++++ 3 files changed, 127 insertions(+), 1 deletion(-) create mode 100644 LuaScript/Resources/SyntaxDefinitions/Lua-Black.xshd create mode 100644 LuaScript/Resources/SyntaxDefinitions/Lua-Windows.xshd diff --git a/LuaScript/LuaScript.csproj b/LuaScript/LuaScript.csproj index ee24c89..eb457a0 100644 --- a/LuaScript/LuaScript.csproj +++ b/LuaScript/LuaScript.csproj @@ -1,4 +1,4 @@ - + net10.0-windows10.0.19041.0 @@ -100,6 +100,8 @@ + + diff --git a/LuaScript/Resources/SyntaxDefinitions/Lua-Black.xshd b/LuaScript/Resources/SyntaxDefinitions/Lua-Black.xshd new file mode 100644 index 0000000..b1f3d3e --- /dev/null +++ b/LuaScript/Resources/SyntaxDefinitions/Lua-Black.xshd @@ -0,0 +1,62 @@ + + + + + + + + + + + + --\[\[ + \]\] + + + -- + + + " + " + + + + + + ' + ' + + + + + + true + false + + + and + break + do + else + elseif + end + for + function + goto + if + in + local + not + or + repeat + return + then + until + while + + + nil + + \b0[xX][0-9a-fA-F]+|\b(\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)? + + diff --git a/LuaScript/Resources/SyntaxDefinitions/Lua-Windows.xshd b/LuaScript/Resources/SyntaxDefinitions/Lua-Windows.xshd new file mode 100644 index 0000000..bd08abc --- /dev/null +++ b/LuaScript/Resources/SyntaxDefinitions/Lua-Windows.xshd @@ -0,0 +1,62 @@ + + + + + + + + + + + + --\[\[ + \]\] + + + -- + + + " + " + + + + + + ' + ' + + + + + + true + false + + + and + break + do + else + elseif + end + for + function + goto + if + in + local + not + or + repeat + return + then + until + while + + + nil + + \b0[xX][0-9a-fA-F]+|\b(\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)? + +