Re: need help fixing bug in Writer word-completion

Michael Stahl <[email protected]>
Newsgroups gmane.comp.openoffice.devel.general
Organization ORACLE
Message-ID <[email protected]>
On 14/12/2010 10:15, Tantai Thanakanok wrote:
> Hi all, 
> 
> I want to fix this bug http://qa.openoffice.org/issues/show_bug.cgi?id=82170 
> 
> The bug is about word-completion and CTL. When I type some Thai auto-complete word in OpenOffice.org Writer (e.g. มิถุนายน). The text will be display doubled and overlapped. This problem occurs because the text is splitted into 2 runs. And a non-spacing vowel mark (i.e. ุ) is placed at the first character of the second run, which make the text displayed overlap. (more detail in the issue) 
> 
> Note: Typing “มิถุนายน” will activate auto-complete when OpenOffice.org Writer locale is set to Thai. 
> 
> Can anyone tell me where should I start looking at? 

it seems that the auto completion in writer is implemented in this file:
sw/source/core/doc/acmplwrd.cxx

but i've no idea how it works...

-- 
"As for C++ -- well, it reminds me of the Soviet-era labor joke:
 'They pretend to pay us, and we pretend to work.'
 C++ pretends to provide an object-oriented data model,
 C++ programmers pretend to respect it,
 and everyone pretends that the code will work." -- Guy L. Steele Jr.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.