sugarlabs / write-activity

A simple word processor for the Sugar learning environment
GNU General Public License v2.0
2 stars 25 forks source link

Adding word count in view toolbar #6

Open Daksh opened 8 years ago

Daksh commented 8 years ago

For a GCI 2015 task: https://codein.withgoogle.com/dashboard/task-instances/5210754919694336/

i5o commented 8 years ago

This is enough for the task.

Before we merge we should look another solution for replace the GObject.timeout_add, I tested with idle_add, and didn't worked

samdroid-apps commented 8 years ago

Looks good, here are my overall comments:

samdroid-apps commented 8 years ago

Actually have a look at abi's algorithm, it looks very efficient and it also deals with other languages. Maybe you could use it?

https://github.com/AbiWord/abiword/blob/c64130a42934fc5618f56c5ab8d028b52e41db43/plugins/grammar/xp/AbiGrammarUtil.cpp#L64