界面库

更新
This commit is contained in:
2024-06-03 09:44:43 +08:00
parent 9084557760
commit 1ed266f959
27 changed files with 1226 additions and 129 deletions
+4
View File
@@ -758,6 +758,10 @@ type teditorform = class(TVCform) //
if not it then return ;
if o.Checked then return ;
case o.Caption of
c_e_none:
begin
it.currentcodeisnone();
end
c_e_ansi:
begin
it.CurrentcodeIsAnsi();
+8 -1
View File
@@ -1441,9 +1441,16 @@ type TPageEditerItem=class(TPageItem)
FEnCode := "ANSI";
FLastversion := "";
end
function currentcodeisnone();
begin
if FEnCode="UTF8" then
begin
FEnCode := "None";
end
end
function CurrentCodeIsUtf8();
begin
if FEnCode="ANSI" then
if FEnCode="ANSI" or FEnCode="None" then
begin
s := FEditer.Text;
try