| 293 | } |
| 294 | |
| 295 | void TextService::updateCandidatesWindow(Ime::EditSession* session) { |
| 296 | if (candidateWindow_) { |
| 297 | RECT textRect; |
| 298 | // get the position of composition area from TSF |
| 299 | if (selectionRect(session, &textRect)) { |
| 300 | // FIXME: where should we put the candidate window? |
| 301 | candidateWindow_->move(textRect.left, textRect.bottom); |
| 302 | } |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | void TextService::refreshCandidates() { |
| 307 | if (validCandidateListElementId_) { |
no test coverage detected