panwriter icon indicating copy to clipboard operation
panwriter copied to clipboard

Word Count

Open andyesys opened this issue 2 years ago • 5 comments

Using panwriter as a focused minimal writing tool is close to perfect. All I am missing is a way to count the words.

andyesys avatar Aug 24 '22 12:08 andyesys

Thank! Yes, probably we should just at a small bottom bar that's shown whenever you hover over it or the top bar... there we could display such information without it getting too much in the way...

mb21 avatar Aug 26 '22 18:08 mb21

That would be great, thank you!

aschoenebeck avatar Sep 03 '22 15:09 aschoenebeck

@aschoenebeck For a very rough approximation, you can break out the console and:

document.body.innerText.length

for characters or:

document.body.innerText.split(" ").length

for words. Lots of edge cases that doesn't handle, but it does at least put you in the ballpark before copying + pasting into a different editor to get a real count!

bobbykjack avatar Sep 08 '22 13:09 bobbykjack

+1 for the word count feature request. (Maybe also characters?)

Moonbase59 avatar Feb 04 '23 08:02 Moonbase59

I'd like this very much too.

AuroraMartell avatar May 04 '24 20:05 AuroraMartell