Extra|Statistics

(available in EditPad Pro only)

Choose Statistics from the Extra menu to have EditPad Pro compute a bunch of statistics about the file you are currently editing. EditPad Pro will create a new tab to hold the statistics. An example:

                           Filename: S:\JGsoft\EditPad7\Help\source\extrastatistics.txt
                         Last saved: 11-Feb-2011 11:32
                          File size: 3,260 bytes
               Number of paragraphs:    41
                    Number of words:   497
       Number of letters and digits: 2,332
     Number of printable characters: 2,594
         Total number of characters: 3,260
                     Selection size:   638 bytes
                     Selected words:    69
        Selected letters and digits:   338
      Selected printable characters:   365
Total number of selected characters:   638

The first two lines indicate under which name the file was saved, and when it was last saved. The third line indicates the size of the file in bytes. The total file size is the total number of characters in the file, including hidden character such as line breaks.

If part of the file was selected before you picked Extra|Statistics from the menu, then the size in bytes of the selection is indicated as well.

"Number of paragraphs" indicates the number of paragraphs in the file. A paragraph is a sequence of characters terminated by pressing Enter on the keyboard, which inserts a hard return into the file. If you turn off word wrapping, then each paragraph is displayed as one line. The number of lines is not indicated in the statistics, because it varies with word wrapping.

Number of words indicates the number of sequences of "letters and digits", separated by sequences of "non-letters". A sequence consisting of a single letter or digit is also considered a word. A "letter or digit" is any character that is matched by the character class \w in regular expressions. This includes letters, digits, and underscores in all scripts. You can test what EditPad Pro considers a letter by picking Search|Prepare to Search from the menu, typing \w into the search box, turning on the option "regular expressions", and clicking the Search button. To search for words, use \w+ (slash lowercase w plus) instead.

"Number of characters" indicates the number of printable characters. This includes all characters except spaces, tabs, line breaks and other control characters. "Total number of characters" counts all characters, including whitespace, line breaks, and control characters.

See also

Extra Menu
Extra|Project Statistics
Extra|Statistics for All Files