[TxMt] Character and Word Counting of Highlighted Text
Allan Odgaard
allan at macromates.com
Tue Nov 16 15:48:16 UTC 2004
On Nov 16, 2004, at 4:03 PM, Stuart Wheeler wrote:
> Now all I need to do is work out how to determine the number of
> characters and words I am highlighting (without manually counting
> them). Is it possible to do that in TextMate at the moment? If I can
> find that out then I'll buy a license.
You can create a command (menu: Command / Edit Commands…).
Set the Command(s): to “wc”, Standard input to “Selected text” and
Standard output to “Show as tooltip”.
If you bind a key to this command, you get the “lines words characters”
shown for selected text as a tooltip when you press the key -- it's not
as convenient as having the information in the status bar all the time,
but I hope it'll make do until I add it.
More information about the textmate
mailing list