After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 135093 - Word count
Word count
Status: RESOLVED FIXED
Product: conglomerate
Classification: Other
Component: Code
CVS
Other All
: Normal enhancement
: ---
Assigned To: conglomerate list
conglomerate list
Depends on:
Blocks:
 
 
Reported: 2004-02-22 01:59 UTC by David Malcolm
Modified: 2005-06-07 03:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
first patch for the fontend (glade) (31.55 KB, patch)
2005-04-27 23:51 UTC, Thierry Moisan
committed Details | Review

Description David Malcolm 2004-02-22 01:59:26 UTC
Conglomerate should have a word-count feature (very useful for authors)

This could be located in the File->Properties dialog: perhaps a tab giving
statistics about the document, which would update as you edit?

Should it count words in comments?  I think it shouldn't.

Other possible statistics:
How many elements?
How many chapters/paras etc - would vary by dispspec
Is the document valid?

Implementation notes:  to be efficient we probably need to have an object
that caches the calculated information about each stat, and updates
accordingly as the edits occur.
Comment 1 Thierry Moisan 2005-04-27 23:51:19 UTC
Created attachment 45763 [details] [review]
first patch for the fontend (glade)

I've followed the past syntax for the variables names.
Comment 2 Dave Malcolm 2005-04-27 23:58:00 UTC
Looks good.  Thanks!

We should commit this to CVS once we have the backend to go with it.

I'd probably reword the "Document valid or not" label, but let's leave it for
now (I can't think of a good way to do this).
Comment 3 Dave Malcolm 2005-06-07 03:01:51 UTC
Comment on attachment 45763 [details] [review]
first patch for the fontend (glade)

I committed a modified form of this