X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-editor-devel.cpp;h=fdd6e77bb7d9cf631bd0068d7b56d7fa09f77e19;hb=183bdd4e867d8daad0b91a1ea717cc28a53bf28d;hp=5858d99234a55169f9ab5754b7d7e654d1f6f458;hpb=1d82abb8a1a514ce0af63004706135fb7883f89b;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/text-controls/text-editor-devel.cpp b/dali-toolkit/devel-api/controls/text-controls/text-editor-devel.cpp index 5858d99..fdd6e77 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-editor-devel.cpp +++ b/dali-toolkit/devel-api/controls/text-controls/text-editor-devel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -35,6 +35,51 @@ MaxLengthReachedSignalType& MaxLengthReachedSignal(TextEditor textEditor) return GetImpl(textEditor).MaxLengthReachedSignal(); } +AnchorClickedSignalType& AnchorClickedSignal(TextEditor textEditor) +{ + return GetImpl(textEditor).AnchorClickedSignal(); +} + +CursorPositionChangedSignalType& CursorPositionChangedSignal(TextEditor textEditor) +{ + return GetImpl(textEditor).CursorPositionChangedSignal(); +} + +InputFilteredSignalType& InputFilteredSignal(TextEditor textEditor) +{ + return GetImpl(textEditor).InputFilteredSignal(); +} + +SelectionChangedSignalType& SelectionChangedSignal(TextEditor textEditor) +{ + return GetImpl(textEditor).SelectionChangedSignal(); +} + +SelectionClearedSignalType& SelectionClearedSignal(TextEditor textEditor) +{ + return GetImpl(textEditor).SelectionClearedSignal(); +} + +void SelectWholeText(TextEditor textEditor) +{ + GetImpl(textEditor).SelectWholeText(); +} + +void SelectNone(TextEditor textEditor) +{ + GetImpl(textEditor).SelectNone(); +} + +void SelectText(TextEditor textEditor, const uint32_t start, const uint32_t end) +{ + GetImpl(textEditor).SelectText(start, end); +} + +void ScrollBy(TextEditor textEditor, Vector2 scroll) +{ + GetImpl(textEditor).ScrollBy(scroll); +} + } // namespace DevelTextEditor } // namespace Toolkit