Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Show word count in status bar #3544

Open
johnnybaloney opened this issue Aug 15, 2023 · 1 comment
Open

[Feature request] Show word count in status bar #3544

johnnybaloney opened this issue Aug 15, 2023 · 1 comment

Comments

@johnnybaloney
Copy link

Currently one has to go to Tools > Word Count in order to get access to word/character count statistics. Having to do this repeatedly gets tedious very quickly. Can these statistics be (also/instead) displayed in the status bar?

-untitled - Geany_448

@elextr
Copy link
Member

elextr commented Aug 15, 2023

The status bar is updated after each edit, so things that show in the status bar are all values that are updated automatically, mostly as a side effect of other functionality, like lines being available because the editor keeps per line data for display purposes, same for position etc. These are updated as editing happens because they need to be. So they are available to be displayed after each edit.

But nothing keeps track of words or characters as editing happens, the tools menu has to go scan the whole document to count words and characters (Unicode code points, not bytes). But scanning the whole document each edit is likely to be expensive and most users won't want it, words are not useful to code editing, the main target of Geany.

So this is the sort of thing that should be in a plugin so only those that want it enable it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants