Delphi 源码排列简体中文版 V2.5
安装方法:运行SetupEx.exe即可。
反安装:再次运行SetupEx.exe
使用:在Delphi IDE下按Ctrl+D(默认)即可调出窗口
----------------------------------------------------------------------------------------
Program:
DelforExp, Delphi Formatter
Version:
2.4.1 for Delphi 2-7
Note DelForEx7.dll might not work, please notify me if you
have problems
Category:
Programmers tool
Description:
DelforExp is a customizable source code formatter.
It can improve the indentation, spacing, capitalization and
the use of blank lines of Delphi 5.0 source code.
In the default settings, the style of the Borland source code
is followed closely.
It is an expert that is integrated in the Delphi IDE.
Status:
The program is released as FREEWARE to improve the productivity
of Delphi. You may distribute the files freely as long as you don't
make money by it. The use of the program is at own risk. (see also
license.txt)
The source code is partly included, to make it possible to customize
the user interface and upgrade to future Delphi versions. Only the
engine of the formatter is included as compiled dll file.
Files:
DelForEx5.dll Delphi 5 version
DelForDll.dll The engine of the parser/formatter
DelFor.hlp On-line help
SetupEx.dpr Install/deinstall
Readme.txt this file
License.txt license notes
Preview.pas Example pascal file for preview window
Problems.pas Nonsense Pascal with solved (and some known) problems in DelFor
Source.zip Zipped file with source of the interface parts of
DelForEx2.dpr (Delphi 2 version)
DelForEx3.dpr (Delphi 3 version)
DelForEx4.dpr (Delphi 4 version)
DelForEx5.dpr (Delphi 5 version)
DelForEx6.dpr (Delphi 6 version)
DelForEx7.dpr (Delphi 7 version)
DelFor.dpr (Stand-alone version (needs the freeware opensource
component mwEdit)
SetupEx.dpr (the setup utility)
Install:
Copy all files to any directory.
[If necessary unzip source.zip and build the required version
in Delphi.]
Close Delphi
Run the program SetupEx.
Restart Delphi.
The second item of the "Tools" menu should be "Source Formatter..."
To install/remove manually: set or delete the following registry keys
D7: HKEY_CURRENT_USER\Software\Borland\Delphi\7.0\Experts\DelForEx6=[Path]\DelForEx7.dll
D6: HKEY_CURRENT_USER\Software\Borland\Delphi\6.0\Experts\DelForEx6=[Path]\DelForEx6.dll
D5: HKEY_CURRENT_USER\Software\Borland\Delphi\5.0\Experts\DelForEx5=[Path]\DelForEx5.dll
D4: HKEY_CURRENT_USER\Software\Borland\Delphi\4.0\Experts\DelForEx4=[Path]\DelForEx4.dll
D3: HKEY_CURRENT_USER\Software\Borland\Delphi\3.0\Experts\DelForExp=[Path]\DelForEx3.dll
D2: HKEY_CURRENT_USER\Software\Borland\Delphi\2.0\Experts\DelForEx=[Path]\DelForEx2.dll
Compile instructions
The version of the DFM files is Delphi 5. Therefore you will get errormessages in earlier
versions. Please open all dialog boxes and ignore all errors before compiling
DelForEx2.dpr and DelForEx3.dpr.
DeInstall:
Rerun the program SetupEx.
Delete all files.
Contact:
Egbert van Nes
http://www.dow.wau.nl/aew/DelForExp.html (NOTE: HAS CHANGED)
egbert.vannes@wur.nl
Wageningen University
The Netherlands
FAQ
Q: Could you please add xxx option in your formatter?
A: There are many wishes like yours. Currently, I only add those that
- I like a LOT
- are not too difficult to add
My time is limited, I don't make money with this tool and my priority is to keep the formatter stable and to fix bugs.
Q: Please, give me the source code!
A: Pardon?
Q: Could I please buy the code?
A: No, I am sorry it is not for sale.
Q: Where can I find your free formatter?
A: The latest version is at the official DelForExp Homepage.
http://www.slm.wau.nl/wkao/DelForExp.html
There are also copies at: Torry pages,The Delphi Super Page,
DelphiSource.COM and The Delphi Pages.
On these pages you can find many other useful components too.
Q: Have you also created a similar formatter for C++, Java
or Visual Basic?
A: No, I am sorry, I have only created one for Delphi.
Being an addicted Delphi user, I have no plans to create one
for any other computer language.
Q: I want to develop an expert. I'm completely new to the subject. Where can I find good resources about writing experts?
A: I have used the following resources:
(1) Templest software has gathered some information at
http://www.tempest-sw.com/opentools/.
(2) At the Torry pages there are many freeware components
(with source) of Martin Waldenburg that are very usefull
(e.g., TOTA, MPasLex, MWLexGen, IDEStrea (used for DelForExp)
, MIDETre4)
(3) There is a newsgroup about the Open Tools API: borland.public.delphi.opentoolsapi
Known problems:
(1)
Compiler {$IFDEF} + {$ELSE} directives may be nested to 3 levels and break
into blocks of code. After the third nested level the right indentation
is not guaranteed.
(2)
After some options (align, adding line breaks) the indentation might
be not correct. Rerunning DelFor can fix the problems.
(3)
It is tried to indent function directives after function declarations.
In some cases this does not happen.
(4)
After formatting the positions of breakpoints and bookmarks are not changed
(all bookmarks are moved and stacked at the end of the file) breakpoints
are removed) If someone knows how to get and set the locations of these points
I would be happy to hear from you.
格式化Delphi代码,自动缩进
5星 · 超过95%的资源 需积分: 47 165 浏览量
2010-08-12
09:04:50
上传
评论
收藏 657KB RAR 举报
hangyi_008
- 粉丝: 2
- 资源: 10
最新资源
- 407000001.fasset
- J-20240402998-HTE-HTE-2947110DA-D3_整车运动控制器-电压渐变(缓升缓降)-检测报告-XS-汽车及零部件检测中心.pdf.crdownload
- Excel表格VBA-获取文件夹内所有文件路径.zip
- 文件移动.zip
- 反射源代码,源代码,源代码,源代码
- CAJViewer 9.0_x64-setup.exe
- servant C++语言框架rpc的源码实现 tools C++语言框架IDL工具的源码实现 util C++语言.7z
- 使用pyqt创建一个登录具有动态背景的登陆界面
- 实验名称 调幅波信号的解调
- 实验名称 振幅调制器(利用乘法器)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
- 1
- 2
前往页