⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit1.pas

📁 Delphi编写的一个支持语法高亮显示和很多语言的文本编辑器
💻 PAS
字号:
unit Unit1;

interface

uses
   Windows,
   Messages,
   SysUtils,
   Classes,
   Dialogs,
   Forms,
   uPlugin,
   fDoc,
   fMain,
   dMain,
   synedit, uPluginUtils;

type
  TGetSelDoc=function:TfrmDoc;
  TuilPlugin1 = class(TuilPlugin)
    procedure uilPlugin1Commands0Execute(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

function RegisterPlugin : TuilPlugin1; stdcall;

implementation

uses Unit2;

{$R *.DFM}

// IMPORTANT NOTE: If you change the name of the Plugin container,
// you must set the type below to the same type. (Delphi changes
// the declaration, but not the procedure itself. Both the return
// type and the type created must be the same as the declared type above.
function RegisterPlugin : TuilPlugin1;
begin
  Result := TuilPlugin1.Create(nil);
end;

procedure TuilPlugin1.uilPlugin1Commands0Execute(Sender: TObject);
var
  f2: TForm2;
begin
  f2 := Tform2.Create(self);
  f2.show;

end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -