Document Statistics plugin¶
Live counts for the active document — shown in a dockable panel and, optionally, a compact status-bar summary. The numbers update as you type, for both the whole document and the current selection.
Where to find it¶
View ▸ Document Statistics opens the dock panel (the always-on, detailed surface). A short summary can also appear in the status bar (see Settings).
What it reports¶
| Metric | Meaning |
|---|---|
| Lines | Line breaks + 1 (a \r\n counts as one break); empty text is 1 line. |
| Words | Maximal runs of letters/digits; each CJK ideograph/kana counts as one word; punctuation, underscore, hyphen and apostrophe separate words. |
| Characters | Unicode code points, including whitespace. |
| Characters (no spaces) | Code points excluding whitespace. |
| Bytes | UTF-8 byte length. |
| Line endings | The mix of CRLF / LF / CR in the file. |
| Reading time | Estimated from the word count and your reading speed. |
The panel has a Refresh button for updating on demand (useful on very large files — see the throttle setting).
Settings¶
Preferences ▸ Plugins ▸ Document Statistics:
| Setting | Effect |
|---|---|
| Show statistics in the status bar | Master toggle for the compact status-bar segment. |
| Status-bar metrics: Words / Characters | Pick which appear in that segment. Line count is not offered here — the editor's own status bar already shows it; the Document Statistics panel keeps the full line count. |
| Reading speed | Words per minute used for the reading-time estimate. |
| Throttle live updates above … KB | Above this file size, the panel refreshes less often to keep typing responsive (set to the minimum — "Always update" — to never throttle). Use the panel's Refresh button to update on demand. |
See also the user-facing overview under Document statistics.