nvda
0ab42d2d - nvdaHelperRemote winword support: fix a freeze seen when using IME in XP with MS Word, introduced with the new inprocess winword support. specifically: When the IME composition window is active, MS Word's range.moveEnd successfully moves by 1 unit at the end of the line/document, yet range.end does not actually change (in our code this means that range.end is equivilent to range.start). This was causing an infinite loop. Now the loop is broken straight away if after moveEnd the end is <= to start.

Commit
14 years ago
nvdaHelperRemote winword support: fix a freeze seen when using IME in XP with MS Word, introduced with the new inprocess winword support. specifically: When the IME composition window is active, MS Word's range.moveEnd successfully moves by 1 unit at the end of the line/document, yet range.end does not actually change (in our code this means that range.end is equivilent to range.start). This was causing an infinite loop. Now the loop is broken straight away if after moveEnd the end is <= to start.
Parents
Loading