EditPad Pro is a powerful and versatile text editor with built-in support for many programming languages, including Delphi, Delphi Prism, and other Pascal flavors. Though you will usually use the Delphi IDE while programming, EditPad Pro often comes in handy. EditPad Pro is suited for both coding and writing tasks.
Particularly handy is EditPad Pro’s ability to show you both the .pas source code and .dfm form file at the same time, enabling you to edit or search-and-replace through both. EditPad Pro is also a great tool to fix up .dfm files that were broken by missing or renamed components, etc. EditPad Pro happily opens invalid .dfm files that cause the Delphi IDE to throw all kinds of fits.
EditPad Pro is extremely configurable. Long-time Delphi and Turbo Pascal programmers will love the options for persistent selections, cursor beyond end of line, and WordStar keyboard navigation shortcuts (called “classic IDE” in Delphi).
EditPad Pro’s syntax highlighting is fully configurable. You can change the colors to mimic the Borland or Visual Studio IDE, or choose your own colors. Schemes for Delphi (Pascal) source code and Delphi form files are provided. All syntax coloring schemes are fully editable.
EditPad Pro’s File Navigator can show you a tree of all definitions in your Delphi units, including classes, types, methods, properties, etc. If you open a Delphi Form file (.dfm file), the File Navigator shows a component tree like Delphi’s structure pane. Unlike Delphi’s code explorer, which collapses itself as soon as you switch between files or edit a file, EditPad Pro’s File Navigator stays put, allowing you to keep track of your Delphi unit’s structure as you edit it. The scheme not only builds the class tree. It also makes classes, methods and other blocks foldable with a single click. By folding blocks you can hide lines to get a better overview of the file’s structure, making it easier to rearrange blocks of code or navigate between them.
With EditPad Pro you can easily open and edit many Delphi files at the same time. There’s no limit. Arrange Delphi files into multiple projects to open them at once and edit them together. Open all files in a folder (and its subfolders) into a project. Many of EditPad Pro’s editing commands can work on all files in a given project at once. Quickly switch between files and projects by clicking on their tabs. Move back and forth with the handy “previous editing position” and “previously edited file” commands. Manage long lists of text files and large projects with the handy file manager sidebar which can rename, move, copy and delete files.
EditPad Pro’s Clip Collection makes it easy to keep a list of Delphi code snippets at your fingertips, ready to be inserted into your Delphi source code. Such a snippet can be a Delphi statement, a block of Delphi code, or anything you want. Clips can consist of “before” and “after” parts to be inserted around a selection, which is very convenient for inserting block statements around a selected block.
EditPad Pro sports one of the most extensive search-and-replace features of any text editor. Quickly find the part of the file you want to edit. Highlight matches, fold lines, and skip over matches and files. Instantly make many replacements throughout a (rectangular) selection, file, project, or all files in all projects. Use regular expressions and adaptive case options for powerful and dynamic search terms and replacements. Clever use of EditPad Pro’s search-and-replace can automate much tedious editing.
Record and play back keystroke macros to reduce repetitive tasks to a single key combination. Record a search as part of a macro to instantly edit all search matches in any particular way. Save any number of macros to build your own library of high-octane text editing wizards. Any menu item or keystroke can be recorded.
Don’t worry about saving files with EditPad Pro extensive auto-save and backup options. Choose how many backup copies you want to keep and/or for how long. The backup options include keeping a __history folder just like the CodeGear Developer Studio does. The File History shows you the backup copies for the current file. You can easily open and compare backups, as well as save specific milestone copies. EditPad Pro’s unlimited undo and redo even allows you to undo changes after saving them.
Compare any two files to get a view of the differences between two files, or check which changes were made between two (backup) copies of the same file. EditPad Pro can highlight difference, merge the two files, and extract the differences or similarities into new files. Very convenient for rolling back inappropriate changes you made to a file, or for double-checking the changes somebody else made to a file you sent them. You can easily send files via email right within EditPad Pro.
Compile and run your Delphi applications within EditPad Pro by adding the Delphi command line compiler to the Tools menu. EditPad Pro has extensive options for running external applications and scripts, sending files to them and capturing their output an error messages into separate tabs or a special message pane. The Delphi compiler tool example captures the compiler’s output into EditPad’s message pane. The message pane uses a custom syntax coloring scheme to highlight file name and line number references in the compiler’s output. Double-click a link to open the file in EditPad Pro at the designated line.
Use rectangular selections to easily edit columns of text. Any editing command that works on a usual linear selection also works on a rectangular selection. Shift and insert columns left and right, move blocks up and down, fill and indent blocks, etc. Handy commands to begin, end, shrink and expand selections make it easy to work with blocks spanning many pages.
Easily edit all kinds of lists with handy commands to sort lines alphabetically and delete duplicate lines. Use these commands with rectangular selections to sort and trim lists of multiple columns on one of the columns.
Quickly comment or uncomment code with the Comment, Uncomment and Toggle Comment commands. They even work with rectangular selections, allowing you to insert or remove comment characters at specific columns.