Log in
Search
Links
This Site
Wageningen UR Site
Advanced Search
Information for
Education
Research
Publications
News & Calendar
About Wageningen University
Jobs at
Contact
Future BSc students
Future BSc German students
Future MSc students (Dutch)
Future MSc students (EU)
Future MSc students (non EU)
Future exchange students
PhD Candidates
Current MSc students
Alumni
BSc programmes
BSc minors
MSc programmes
PhD programmes
Courses and training
Chair Groups
International Education
Research at the University
Chair groups
Research domain
Rankings / Citation index
Specialisation
Research themes
Graduate schools
Professors
Research facilities
We@WUR
Wageningen UR publications
Library Wageningen UR
Corporate publications
News
Newsroom
Archive
RSS
Calendar
Mission and strategy
Organisation Chart
Domain
Board
Financial information
Van Hall Larenstein
History
Internationalisation @ WU
Wageningen Campus
Organisation
Number of students
Graduates
Students' origins
Working at Wageningen University
Vacancies
Internal vacancies
Active worldwide
Career
Conditions of Employment
Earning a doctorate
Tenure Track
Facilities
The town of Wageningen
Addresses
Route description and map Wageningen
Contacts and experts
A to Z - Questions and answers
wageningen ur (home)
>
wageningen university (home)
>
aquatic ecology and water quality management group (home)
>
delforexp
Delforexp
Aquatic Ecology and Water Quality Management Group
News & Calendar
About
Education
Research
Publications
Staff
Contact details
DelForExp, a freeware Pascal source code formatter for Delphi
New:
The source of the formatter engine is now available for download.
Description
Downloads
FAQ
What is new?
Standalone version
Links
Author
Description
DelForExp is a FREEWARE Delphi source code formatter that really works.
It improves:
the indentation
spacing
capitalization
use of blank lines of Delphi source code.
To do so the source code is parsed and lots of special constructs are tested. At default, the style of the Borland source code is followed closely, since this is the most widely accepted style. But formatting of Pascal code is much a matter of taste and debate (see
below
). Therefore, some alternative rules are included. DelForExp is available as Delphi 2/3/4/5/6/7/9/2007 expert. It can optionally process the whole currently opened project.
The box with the additional options
DelFor, the standalone version of DelForExp
There is also a standalone version of the program available. It includes a Delphi look-and-feel editor, with a high capacity. It is easy to open and processing many files by automatically loading whole projects or by selecting multiple files in the open file dialog.
The formatter engine is the same as DelForExp.
You can use this program as a standalone program or add it to the
Tools menu
of the Delphi IDE:
press in Delphi
Configure Tools
press
Add
Enter a Title
Enter the full path of the program (or use browse button)
Enter in the parameter field:
$EDNAME $SAVE
(Delphi saves the topmost editor window and DelFor opens with that file)
OK and Close
The editor makes use of a freeware component that was created by Marten Waldenburg and participants of the mwEdit project (recently changed in
SynEdit
, you still can
download
the latest version there) .
Questions about DelForExp? See the
DelForExp FAQ
Downloads
DelForExp (D2,3,4,5,6,7,9,2007)
Version 2.5 (with part of source code compilable for D2 - D7)
(474 Kb)
Unfortunately the expert can not be compiled with the
Standard version
of Delphi.
Standalone version (version 2.4.2)
(367 Kb)
Source of the dll
(
21 Kb
)
What is new?
Version 2.4.2 (August 2001):
Instead of moving //-comments (being a continuous source of bugs) these comments are changed in {}-comments
i.e. the code:
if t // comment
then k;
is now changed into:
if t {// comment} then
k;
Version 2.4.1 (June 2001):
Delphi 6 support (thanks to Antti Lukas)
Version 2.4.1:
'Borland style' button
New option: always add a break after
then
etc.
including single lines
Some bug fixes
Version 2.4:
The engine is in a DLL now, other source code is free.
Some bug fixes
Version 2.3.1:
Some bug fixes
Version 2.3:
Delphi 5 support
More detailed options for spacing
Preview window
Break between every unit in "uses"
Some bug fixes
Version 2.2.3:
Added "use and add" mode to file with capitalization of identifiers
Created editor of file with identifiers
Some bug fixes
Version 2.2.2:
Link to this web page
Remove double blank lines option
Some bug fixes
Version 2.2.1:
Customizable menu shortcuts
Some more bug fixes
Version 2.2:
Delphi 4 support
New language elements of Delphi 4 supported
Some bug fixes
Contact with the author
author:
Egbert van Nes
other component:
TExpressionParser
, a freeware expression parser with source.
Print this page
Disclaimer
General Terms and Conditions
Contact
All contents © 2011 Wageningen UR. All rights reserved.