readme.txt

来自「是一个很好的编辑器」· 文本 代码 · 共 20 行

TXT
20
字号
PSPad File handling plugin

Idea - each file extension has own DLL. 
Plugin is used for the file open/save handling if DLL exists and match plugin name to file extension. 
If some error occurs in DLL (DLL functions return False), PSPad internal file handling is used.
PSPad internally checks Plugin version and the message dialog occurs if the incorrect version is found 

DLL must export 3 functions:

function PSP_LoadFromFile(FileName, Data: PChar; DataSize: Integer): Integer; stdcall;
	- parameter DataSize - max. size of allocated buffer on the PSPad side
	- returns real data size 

function PSP_SaveToFile(FileName, Data: PChar; DataSize: Integer): LongBool; stdcall;
	- parameter DataSize - real. size of data
	- returns success state - True/False 

function PSP_Version: LongInt; stdcall;
	- returns plug-in version

⌨️ 快捷键说明

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