parent
4cefd2fc39
commit
d1b6b42692
BIN
TSLInterp.dll
BIN
TSLInterp.dll
Binary file not shown.
|
|
@ -24,7 +24,17 @@ type TEditerForm = class(TVCform) //
|
||||||
end
|
end
|
||||||
function editerinfo();
|
function editerinfo();
|
||||||
begin
|
begin
|
||||||
return "tsl语言本地编辑器\r\n版本:1.0.0\r\n日期:2022-07-19";
|
s := "tsl语言本地编辑器\r\n版本:1.0.0\r\n日期:2022-07-19";
|
||||||
|
f := tslfilename()+".about";
|
||||||
|
if fileexists("",f) then
|
||||||
|
begin
|
||||||
|
size := filesize("",f);
|
||||||
|
if readFile(rwraw(),"",f,0,size,data) then
|
||||||
|
begin
|
||||||
|
return data;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return s;
|
||||||
end
|
end
|
||||||
function Create(AOwner);override;
|
function Create(AOwner);override;
|
||||||
begin
|
begin
|
||||||
|
|
@ -428,7 +438,7 @@ type TEditerForm = class(TVCform) //
|
||||||
end
|
end
|
||||||
"¹ØÓÚ":
|
"¹ØÓÚ":
|
||||||
begin
|
begin
|
||||||
return messageboxa(editerinfo(),"说明",0,self.Handle);
|
return messageboxa(static editerinfo(),"关于",0,self.Handle);
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
"tsl语言本地编辑器about
|
||||||
|
版本:1.0.0
|
||||||
|
日期:2022-07-19"
|
||||||
|
|
@ -943,7 +943,11 @@ type TFormatParser = class
|
||||||
begin
|
begin
|
||||||
stype := TK_UNIT;
|
stype := TK_UNIT;
|
||||||
end
|
end
|
||||||
"private","public","published","interface","implementation","initialization" : stype := TK_PRIVATE;
|
{$ifdef weakref}
|
||||||
|
"private","public","published","interface","implementation","initialization","weakref","autoref" : stype := TK_PRIVATE;
|
||||||
|
{$else}
|
||||||
|
"private","public","published","interface","implementation","initialization": stype := TK_PRIVATE;
|
||||||
|
{$endif}
|
||||||
"function","procedure": stype := TK_FUNCTION;
|
"function","procedure": stype := TK_FUNCTION;
|
||||||
"type": stype := TK_TYPE;
|
"type": stype := TK_TYPE;
|
||||||
"try": stype := TK_TRY;
|
"try": stype := TK_TRY;
|
||||||
|
|
|
||||||
|
|
@ -938,7 +938,8 @@ type TTslDebuga=class(TCustomControl)
|
||||||
//echo "\r\nrectype",format("0x%x",recvtype);
|
//echo "\r\nrectype",format("0x%x",recvtype);
|
||||||
if 0x0401=recvtype then
|
if 0x0401=recvtype then
|
||||||
begin
|
begin
|
||||||
owner.echoAppendString(d["errmsg"]);
|
//owner.echoAppendString(d["errmsg"]);
|
||||||
|
ExecuteCommand("showeval",d["errmsg"]);
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
if recvtype <> 0x402 then
|
if recvtype <> 0x402 then
|
||||||
|
|
|
||||||
Binary file not shown.
BIN
tslkrnl.dll
BIN
tslkrnl.dll
Binary file not shown.
BIN
tsl语言本地编辑器.docx
BIN
tsl语言本地编辑器.docx
Binary file not shown.
Loading…
Reference in New Issue