MCPcopy Create free account
hub / github.com/EasyIME/PIME / updateCandidatesWindow

Method updateCandidatesWindow

PIMETextService/PIMETextService.cpp:295–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295void 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
306void TextService::refreshCandidates() {
307 if (validCandidateListElementId_) {

Callers 2

updateCommitStringMethod · 0.80
updateCompositionMethod · 0.80

Calls 1

moveMethod · 0.45

Tested by

no test coverage detected