Why EditPad Pro Is a Great Text Editor for Webmasters and Ruby Programmers

EditPad Pro is a powerful and versatile text editor with built-in support for many programming languages, including Ruby. You can maintain your entire web site with EditPad Pro. Edit HTML pages, ASP.NET pages and PHP pages, cascading style sheets (CSS files), server side scripts in Perl or Ruby, client side scripts in JavaScript or VBScript, RSS news feeds, etc.

EditPad Pro's File Navigator can show you a detailed class tree of the Ruby source file you're editing. The File Navigator makes it easy to find relevant sections of code. The Ruby file navigation scheme and other provided file navigation schemes are fully editable. 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.

Use EditPad Pro's built-in FTP and SFTP client to upload your Ruby scripts to your web server right within EditPad Pro. You can even edit scripts directly on the server via FTP, without having to download the Ruby files to your computer's hard disk first. EditPad Pro transfers files in the background, so you'll never have to wait for all files to download, or for a file you've saved to finish uploading. You can go on editing right away. If you maintain multiple web sites, EditPad Pro can stay connected to multiple servers.

With the View|Browser command you can instantly preview the web page you're editing in your default web browser. Add as many alternative browsers to EditPad Pro's Tools menu as you want.

With EditPad Pro you can easily maintain very large web sites. There's no limit to the number of files you can open simultaneously. Arrange Ruby scripts of different web sites into separate projects to open a site's files 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 Ruby files and large web sites 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 Ruby code snippets at your fingertips, ready to be inserted into your Ruby source code. Such a snippet can be a Ruby statement, a block of Ruby 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 or an opening and closing HTML tag pair 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 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.

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.


Editing a Ruby script with EditPad Pro. The File Navigator is docked to the right.
Editing an HTML file with EditPad Pro. The FTP panel is docked to the left.

Use Ruby to Extend EditPad’s Functionality

Use EditPad Pro's extensive abilities to invoke external applications and scripts to extend EditPad Pro's functionality with Ruby scripts. EditPad Pro can pass the file name of the file you are currently editing on the command line to the Ruby interpreter or your Ruby script, or even send the file to the script's standard input. Your script can then read from standard input, do its job, and send the results to standard output. EditPad Pro can capture the standard output into a new tab.

You can even write a script that only works on the selected part of the file you are editing. EditPad Pro will save the selection into a temporary file, pass it on the command line to the script (use %TEMPFILE% on the command line for the tool), and replace the selection with the modified contents of the file after your script has finished its job. That way you can easily add whichever text processing feature you want simply by implementing it in a Ruby script.

EditPad Pro’s extensive options for running Ruby scripts

You Need EditPad Pro to Script in Ruby