Word Count plug-in
The Word Count plug-in is installed by default with EmEditor Professional. This plug-in counts words contained in the entire document and in a selection of text. The Word Count plug-in displays the number of characters, words, and lines contained in the entire document and in a selection of text. The word count plug-in always counts the words in the entire document. It counts the words in a selection, if you make a selection of text.
To use the Word Count plug-in: select text where you want to count words or select no text, to count the entire document. Click the Word Count plug-in button on the Plug-ins bar. Or on the Tools menu, point to Plug-ins, and then click Word Count. The Word Count custom bar appears.
You can adjust the custom bar width, so that all three columns - Query, Entire Document, and Selection Only - are visible. You can see the number of characters, width, words, and lines. If a selection of text exists, then the numbers in the selection are also displayed. If you change text, or the selection, click the Refresh Now button to refresh the counts, or set the Refresh Automatically check box, so that the counts are refreshed automatically.
The plug-in can display much more information than just these numbers. If you click the Customize button, and then click New, you can add a new query. In the Query Properties, you can select Number of Characters, Widths (Number of Characters in Half-Width characters), Number of Words, and Number of Logical Lines (Paragraphs). In addition to that, you can specify a regular expression. You can find some examples of regular expressions by clicking the arrow button. For example, \d counts only digits and \u counts only uppercase letters. These combinations allow you search for various conditions. For instance, select Number of Characters, and specify [a-z] to count characters from a to z. Select Number of Words, and specify \u.* to count capitalized words.
|