Text editor test: TextPad

The second test in this series, which is the best text editor for me, is about TextPad.

TextPad is a commercial product by Helios Software Solutions and is available from www.textpad.com. The version I tested was 4.7.3.

First impressions

TextPad is one of those programs that for some reason always hide behind their open online help windows. This is something I find extremely inconvenient and I’m happy that I have multiple monitors – it would be much worse otherwise.

The other thing I noticed is that TextPad also shows up its evaluation warning dialog from day 1. It might be just me, but I don’t like that… I’m one of those people that have every intention of paying for a product they like, but I want the chance to test it properly while being left alone with regard to nag screens.

General features

TextPad startup is very fast, due to the size of the editor. The application uses an MDI interface, selection of a currently open file is additionally possible from a list that’s shown in a docked window by default. It’s also possible to start multiple instances if needed.

Regular expressions are supported to the extent tested. TextPad goes fully for POSIX compliance, which means that s doesn’t work for whitespace. Plus, POSIX compatibility has to be enabled first (in the preferences) to be able to use non-escaped braces, parentheses and pipe symbols. Anyhow, it was possible to search for ([^[:space:]]+) ([^[:space:]]+) and replace by 2 1, so I’m quite satisfied.

Searching in multiple files is possible, but replacing is not available in a similar way.

The line wrapping button is right there in the standard toolbar. When line wrapping is on, TextPad tries to behave extremely well by indenting a wrapped line to the same degree as the start of the line – which leeds to the situation where it becomes difficult to see that one of the (visible) lines is actually a continuation of the other. With line numbers switched on things are a bit better, but I would really like it even better if the continued line wasn’t displayed with any indent at all.

It’s possible to configure the toolbars, but only to the degree of the prepared buttons. It seems to be by chance that the line wrapping button is provided – if I wanted to have a button to switch some other arbitrary option, chances are that wouldn’t be possible.

Scrolling and redrawing works nice and fast in TextPad. Although the editor visibly redraws a lot in situations like window resizing, it doesn’t interfere with work in any way. The scroll speed seems to be more or less independent from the degree of “coverage” of the editor pane. The only situation where scrolling suffered badly was when I loaded my 3.7 million chars on a line test file and switched on word wrap. Scrolling with the scroll bar was still quite reasonable, but navigating the cursor with the cursor keys was really sluggish. I wonder, don’t people who sell text editors test this kind of thing? I mean, I’m not inventing that… many machine generated XML files don’t have pretty indented layouts.

TextPad’s memory footprint is very reasonable. It started out at about 4MB and when opening files didn’t grow too much. File handling seems to be quite well optimised, as the editor bytes/file bytes ratio goes.

It’s a funny thing with hex editing in TextPad: it’s possible to open a file in “binary” mode, but the file seems to be inevitably opened in read-only mode. It’s possible to search for hex values, but replacing them is obviously also impossible. The online help doesn’t give any additional information on this. Another thing I noticed: by default, a file is opened in “Auto” mode (which is a selection in addition to “Text” and “Binary”), but this doesn’t seem to work very well. A lot of large test files I tried loading contained data that was certainly “garbage” if viewed in a text editor, but TextPad loaded them as text nevertheless, when left with the “Auto” setting.

TextPad can work with large files reasonably well, as long as they fit into free (physical, not swap!) memory. I loaded a file of around 656MB, which increased the application’s working set by 708MB (that’s nearly 8% overhead). Loading another large file failed because I didn’t have enough free physical RAM. Hint: the message in such a case is interesting, because it claims that “the disk is full” instead of telling the truth about the RAM situation.

It’s possible to use the keyboard to work with TextPad effectively. Keyboard configuration (Preferences dialog) enables one to configure arbitrary shortcuts for all menu entries as well as a lot of other commands and the insertion of special characters. Nice!

TextPad has a few simple text formatting functions. Although it doesn’t really understand formats like a bullet list, it’s able to reformat such paragraphs satisfactorily. This has to be invoked manually. More complicated formats like justified text are supported, but this breaks the bullet list, for example.

To define the file format for any given file, the user has to make the proper selection during file saving. It’s possible to save with DOS, Unix and Mac line endings and TextPad supports UTF-8, UTF-16 (which they call “Unicode”, don’t ask me why) and ANSI as character encodings. TextPad does support writing a BOM to UTF-8 and UTF-16 files, but this is an option for the so-called “document class” (see below, about highlighting), instead of being an option when saving. I haven’t found an option to switch the codepage or the locale for ASCII files.

I found all the TextPad settings in the registry at HKEY_CURRENT_USERSoftwareHeliosTextPad 4, so it looks like it should be easy to transport them to another system.

System integration

TextPad’s integration into Windows is okay. The style of the application is a bit outdated, I think they guys at Helios should consider updating to a more current look and feel. But that’s not a problem of usability. The main dialogs are quite alright as well, although they could easily be a little bigger and/or resizable, which would make them less crowded. Some of the utility dialogs, like search/replace, suffer from a wide-spread problem: they are so tiny that the UI elements only just fit in, the buttons are already smaller than they should be with the text only just making it on the surface of the button (and that’s in English, one of the shortest languages there are) and all the buttons are crammed into some funny layout on the right side of the dialog. Nothing intuitive about that.

Integration into the Explorer context menu was done by the installer and seemed to work fine.

There were no technical problems using ClearType and the Consolas font with TextPad. Making the settings for the font proved a bit cumbersome, because the font is one of the settings that are made for each so-called document class in TextPad. There is a default document class, but that one is only used if no more specific class is found for a file extension, so to make the editor use the Consolas font in all configurations it’s necessary to make the change in many places instead of just one.

Virtual directories in namespace extensions as well as UNC paths are supported.

Syntax highlighting

It’s a funny thing with the standard highlighting support of TextPad: several highlighters aren’t configured in the standard installation although they are included. To explain: TextPad bases support file types on the so-called document classes, which are bound to a list of file extensions and aggregate all the settings specific to the file type. Out of the box, only four document classes (apart from some “internal” stuff like Binary) are configured: C/C++, HTML, Java and Text. The default installation includes 26 highlighting definition files, most of which are not in use. So, hint to the TextPad makers: save the user the work and create document classes for these by default!

The only one of my wanted highlightings configured out of the box was HTML. Using the existing highlighters, I was able to configure document classes for C#, Pascal and Perl. In the download area of the TextPad website I was able to find a highlighting definition for XML (you have to put such an external file into the samples folder to install it – huh?), but I was out of luck for diff and e-mail.

It looks to me as if TextPad supported an unlimited number of highlighters (i.e. document classes) and it’s easily possible to add extensions to existing classes. One thing is inconvenient, though: changes to a document class are never applied to open files, it’s necessary to close and reopen a file to see the effect of any chances to the corresponding class. It’s possible to create additional highlighters, they are stored in text format files.

TextPad doesn’t seem to implement any means of recognizing file types, apart from the file extensions.

Extensibility

TextPad contains a macro system, which works with an integrated recorder. It’s not possible to manually edit macros, they are stored in a binary format. The recording works quite well in its restricted way, I tested selecting text, typing and using search/replace. In multi-play mode, it’s possible to run a macro more than once without interrupting, thereby simulating a global loop.

It’s possible to integrate external applications into TextPad’s Tools menu and regular expressions can be used to parse the output of any such applications. This is useful to integrate compilers or make tools into the editor, to be able to jump directly to error locations. Apart from that, TextPad seems to have no other extensibility model.

Networking

There’s no networking support in TextPad.

Support and community

I had no reason to contact the Helios Software support. As support goes, they seem to be one of these companies who think that support can happen in a web forum… they do have a feedback form on their web page that customers are supposed to use (quote) “only if you have exhausted every other option, or have a purchase or licensing question”, and they also inform their customers that they may not reply to queries that have already been answered on their site. Well, personally I hate web forms and I almost hate web forums. What’s more, I looked at the forum and while there seems to be a nicely active community there, in many threads I didn’t see any reply that looked as if it actually came from somebody from Helios.

It might be just me, but that’s not what I expect support for a commercial program to be like. I really want an email contact so I can write down my requests in my own mailer and I can store the replies in my own archives, it’s as simple as that. A community forum and a web form with a disclaimer like the above are not good substitutes.

Price

A single TextPad license costs $30 (US) or £16.50 (UK), which sounds like an average shareware price to me. I guess the functionality is worth that.

Results in numbers
General features System integration
Startup 80 Modern application/UI 50
Regex support 70 Explorer context menu 80
Quick access 70 ClearType/Fonts 70
Scrolling/redrawing 70 File access 70
Memory footprint 60 Syntax highlighting
Hex editing 30 File types 40
Large files 30 Extensibility 70
Keyboard support 70 File recognition 0
Text formatting 40 Package completeness 20
File formats 65 Extensibility
Preferences 70 Macros 60
Networking 0 External extensions 0
Support/community 35 Price 70
Sum: 1220 Average: 51

16 Comments on Text editor test: TextPad

  1. I use this tool for years now. It might not be the most powerfull one available in the Windows world, but it fit my simple needs, and that’s all I wanted. As a developper, when I need to work of my projects, I use the IDE provided by the vendor of the commpiler (Actually Microsoft Visual Studio 2005). Things I like in TextPad are quick launch, fast text loading, pretty fast text browsing, good synthax hightlighting (ex : JavaScript in HTML), tiny macro processor and price.

    Like

  2. Graham Green // August 17, 2005 at 2:50 pm // Reply

    I have been using it in a commercial mainframe/PC environment for six years now and it is “fantastic” in a word.I used to use the Microsoft editor that came with DOS to write amend all my mainframe programmes, textpad took over as it was facility rich. Year 2000 conversions were done in days rather than weeks once macros were set-up, it paid for itself many times over.Now dealing with data migration and scripting, again it comes into its own as an invaluable tool.Not too complex and not tooled to the point of confusion with features, it strikes a happy balance between usability and being too slow to keep picking up and putting down.Being able to edit in hex, rather than just view, would be nice though.

    Like

  3. I’ve been using TextPad for a while, and“Searching in multiple files is possible, but replacing is not available in a similar way” isn’t true – it works just like searching…

    Like

  4. And where do you find it? In my Search menu, there’s a “Find in files” entry, but that doesn’t allow replacement. I just looked again, but I couldn’t find a similar functionality for replacing.

    Like

  5. Select Search -> Replace or hit . The Replace dialog allows you to select the replace scope – look at the “Scope” group box in the lower middle. Select “All documents” to replace regular expressions in all files currently opened.

    Like

  6. Oh, I see. But that’s not what I want, because this works only with files that have previously been opened. I’m looking for a function that works just like the “Find in files” in TextPad, but allows replacing as well.

    Like

  7. I too use TextPad for quite a few years and find it a valuable tool, it’s on my must-have list on every desktop I work with.“There is a default document class, but that one is only used if no more specific class is found for a file extension, so to make the editor use the Consolas font in all configurations it’s necessary to make the change in many places instead of just one.”This is not true, I for once, always use a different-than-standard customization not only for the font but also for always stripping the trailing spaces, changing colors, printing header & footer, so the way to do it (is a bit weird, so I have it annotated on my little book) is to:- Select Menu ConfigurePreferencesDocument ClassesDefault;- Change all your options as needed, in the Document Class options or submenus Colors, Font, Printing, etc.;- Check the checkbox “Apply these settings to all document classes”- Press “OK” or “Apply”- Now comes the trick: Exit TextPad and start it again. You will see that all options you CHANGED were also changed on all classes. For instance, I usually change font, but do not want to change the Tab size for all classes. So I don’t change it and it remains different for each class.Hope I helped…Cackos

    Like

  8. Thanks for the hint, Cackos!

    Like

  9. Hi Oliveryou mentioned [Oh, I see. But that’s not what I want, because this works only with files that have previously been opened. I’m looking for a function that works just like the “Find in files” in TextPad, but allows replacing as well.]To replace what you can do is this:1) Start a new “Find in files” Search [i.e. close the current Search Results document if open]2) Do your “Find in Files” search3) Right click anywhere in the search results and Choose “Open All” from the the menu that pops up4) Then do as Michael in Comment #5 indicates. Find and Replace in “All Documents” scope.Not exactly what you wish [as i do] but works nonetheless!!–javagirlz

    Like

  10. I’ve been using TextPad for a long time & am a big fan of it.

    Here are a couple of caveats about using it though:

    You can’t edit .reg files w/ TextPad & then double click the .reg file to import the settings to the registry. Edit the files w/ Notepad & you’re ok.

    When saving a file, it appears it’ll save the CRLF pair for each newline, even if it only had CR before. Notepad doesn’t do this.

    Normally this is good & doesn’t matter, sometimes it does. eg: edit a file which is parsed on fixed character positions, and the addition of the newline char will set it off by one.
    Might be the reason you can’t edit .reg files w/ TextPad, but not gonna check it to confirm that possibility.

    Like

  11. how to increase the font size in TextPad 5.2.0 version

    Like

  12. TextPadTester // January 19, 2011 at 11:14 pm // Reply

    Here are the steps to change the TextPad Default Font Style and Font Size:

    Configure > Preferences
    Document Classes:
    Default > Font > Size
    and
    Text > Font > Size
    Apply

    Like

  13. utm student // July 30, 2011 at 5:25 pm // Reply

    or you can also go to
    view–>Document Properties[Alt+Enter]
    –>Font tab

    Like

  14. how can i read my textpad,my textpad save to .class and when i open it, i can’t read the word. just like ‘code’ or whatever.. but when i run..that is success..help me pls

    Like

  15. I know this thread is old but, in case anyone stumbles across this forum post…

    I’m an avid registered Textpad user. One utility, though, that I’ve found that seems to beat all when it comes to global replace (and the many options/config that can come along with that type of request), is UsefulFileUtilities (http://www.replsoft.com). Powerful and highly configurable.

    Take care,
    Tim

    Like

  16. Comment from: Wes [Visitor]
    “I’ve been using TextPad for a long time & am a big fan of it.

    “Here are a couple of caveats about using it though:

    “You can’t edit .reg files w/ TextPad & then double click the .reg file to import the settings to the registry. Edit the files w/ Notepad & you’re ok.”

    WRONG!
    Textpad does not fail us in this respect.
    The permanent solution is to Configure a New Document Class:

    Go to http://t.co/rJkIRlfh for the TextPad Registry File Corruption Solution!

    Like

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s