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 / Characters (no spaces) / Lines / Bytes (UTF-8) / Reading time | Pick which metrics appear in that segment; they always show in this fixed order. Only Words is on by default — the other counts overlap the editor's own length/lines indicator, so showing them is a deliberate choice. The line-ending mix is shown only in the panel. On a narrow window the summary is shortened ("…") with the full text shown on hover, and it hides entirely when the status bar runs out of room. |
| 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.