[PATCH (partial)] Writer autocompletion feature

Tomaž Vajngerl quikee at gmail.com
Mon Aug 27 01:42:09 PDT 2012


I would like to give a little status regarding this topic:
- lookuptree code has been integrated into editeng package and changed
to support OUString instead of std::string
- tests has been converted to CppUnit and extended to test for unicode
characters support
- remark: old code used a sorted vector for word lookup which did not
even work in some situations on some environments I tried
- lookuptree is now used for word lookup but not yet used for word
list managing (iterator through all words is needed) so currently both
are still used and words are added to both data structures.
- lookuptree supports remembering the position in a word so it does
not need to do whole word lookups all the time, but currently whole
word lookup is always used because the code in sw needs to be changed
to support this
- word statistics is currently not used because the sw code needs to
be changed to support this in a sensible way
- support for more languages is not yet implemented

I will remove all the usage of old sorted vector for autocompletion in
the near future, but other things will need to wait.

Regrds, Tomaž

More information about the LibreOffice mailing list