{
FloatDimension screenSize;
_ControlManager* pControlManager = _ControlManager::GetInstance();
- _ControlOrientation orientation = GetOrientation();
+ _Edit* pEdit = __pCopyPasteManager->GetEdit();
+ _ControlOrientation orientation = pEdit->GetOrientation();
FloatRectangle rect = GetBoundsF();
if (orientation == _CONTROL_ORIENTATION_PORTRAIT)
, __textBlockMoving(false)
, __clipboardConnected(false)
, __updateInitialBounds(true)
+ , __blockTextColor(Color(0, 0, 0))
{
}
EditStatus editStatus = GetCurrentStatus();
__pTextObject->SetForegroundColor(__pEdit->GetTextColor(editStatus), 0, __pTextObject->GetTextLength());
+ if (__isTextBlocked)
+ {
+ __pTextObject->SetForegroundColor(__blockTextColor, __blockStartPos, __cursorPos - __blockStartPos);
+ }
if (__isTextBlocked == true && editStatus == EDIT_STATUS_HIGHLIGHTED)
{
__pTextObject->GetRange(startRange, lengthRange);
__pTextObject->SetRange(0, GetTextLength());
__pTextObject->SetForegroundColor(__pEdit->GetTextColor(editStatus), 0, __pTextObject->GetTextLength());
+ if (__isTextBlocked)
+ {
+ __pTextObject->SetForegroundColor(__blockTextColor, __blockStartPos, __cursorPos - __blockStartPos);
+ }
if (IsBlocked() == true && editStatus == EDIT_STATUS_HIGHLIGHTED)
{
bool __textBlockMoving;
bool __clipboardConnected;
bool __updateInitialBounds;
+ Tizen::Graphics::Color __blockTextColor;
}; // _EditPresenter
}}} // Tizen::Ui::Controls