Get info for lua commands on buffer, ctrl shift Q thing, packaging

This commit is contained in:
krzosa
2025-04-30 09:34:54 +02:00
parent 46dcd1cc4e
commit a00f8acd9a
11 changed files with 108 additions and 68 deletions

View File

@@ -165,6 +165,12 @@ int CompileTextEditor() {
Run("rc icon.rc");
}
result += Run(cmd);
if (result == 0) {
OS_MakeDir("../package");
OS_CopyFile("../build/te.exe", "../package/te.exe", true);
OS_CopyFile("../build/te.pdb", "../package/te.pdb", true);
}
return result;
}
@@ -422,7 +428,9 @@ function IsLoadWord(w)
w == string.byte('_') or
w == string.byte('.') or
w == string.byte('-') or
w == string.byte(',')
w == string.byte(',') or
w == string.byte('"') or
w == string.byte("'")
if not result then
result = not (IsSymbol(w) or IsWhitespace(w))
end