X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-field-devel.cpp;h=345bb1288724a2136ed94c74a4f58f7e5b5ee1a9;hb=564bc0be615a00d681e01d00250a0279068efcf7;hp=e5abdfa05cda0cbcf738cca708fd47189ead52f6;hpb=5196315c0dcb4ffe51650ebd5415d680be611f7e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp b/dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp index e5abdfa..345bb12 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp +++ b/dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,6 +55,11 @@ SelectionClearedSignalType& SelectionClearedSignal(TextField textField) return GetImpl(textField).SelectionClearedSignal(); } +SelectionStartedSignalType& SelectionStartedSignal(TextField textField) +{ + return GetImpl(textField).SelectionStartedSignal(); +} + void SelectWholeText(TextField textField) { GetImpl(textField).SelectWholeText(); @@ -70,6 +75,16 @@ void SelectText(TextField textField, const uint32_t start, const uint32_t end) GetImpl(textField).SelectText(start, end); } +Vector GetTextSize(TextField textField, const uint32_t startIndex, const uint32_t endIndex) +{ + return GetImpl(textField).GetTextSize(startIndex, endIndex); +} + +Vector GetTextPosition(TextField textField, const uint32_t startIndex, const uint32_t endIndex) +{ + return GetImpl(textField).GetTextPosition(startIndex, endIndex); +} + string CopyText(TextField textField) { return GetImpl(textField).CopyText();