Lines Matching defs:target_range
406 gfx::Range target_range;
408 result = client->GetCompositionTextRange(&target_range);
410 if (!result || target_range.is_empty()) {
411 if (!client->GetSelectionRange(&target_range) ||
412 !target_range.IsValid()) {
417 if (!text_range.Contains(target_range))
420 if (target_range.GetMin() - text_range.start() > kExtraNumberOfChars)
421 text_range.set_start(target_range.GetMin() - kExtraNumberOfChars);
423 if (text_range.end() - target_range.GetMax() > kExtraNumberOfChars)
424 text_range.set_end(target_range.GetMax() + kExtraNumberOfChars);
444 client->HasCompositionText() ? target_range.length() : 0;
446 (target_range.GetMin() - text_range.start()) * sizeof(WCHAR);
447 reconv->dwTargetStrLen = target_range.length();