[TxMt] get character count in current doc or selection?
bseymore at gmail.com
Sun Apr 22 18:34:55 UTC 2007
The number of bytes in your document is a pretty close approximation
to how many characters are in your document. The string 12345678910
is eleven bytes, but when you hit return a new line character is
created so your document would then have twelve bytes. Accented
characters, such as é count as two bytes. This probably all goes out
the window when one gets to Japanese and any other non-Roman language.
On Apr 22, 2007, at 11:21 AM, Todd Ditchendorf wrote:
> Is there currently any type of command/etc to get the character
> count in current doc or selection?
> I see the command in the Text Bundle 'Statistics for Document (word
> count)' but this doesn't report the char count...
> Todd Ditchendorf
> Scandalous Software - Mac XML Developer Tools
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
More information about the textmate