X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-editor-devel.cpp;h=a685aee26e3af8be79a6b823f38f41c5e9ffb232;hp=b0b248bd8d517dbdf5aa008a2ec12d7bd7f7bf56;hb=e172c89c895d46d430b2cf0a0dbceeea0ae09b29;hpb=dea624eb348a4926d8761c8a1364f03f9f71acf5 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 old mode 100755 new mode 100644 index b0b248b..a685aee --- 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) 2018 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. @@ -21,21 +21,43 @@ namespace Dali { - namespace Toolkit { - namespace DevelTextEditor { +InputMethodContext GetInputMethodContext(TextEditor textEditor) +{ + return GetImpl(textEditor).GetInputMethodContext(); +} + +MaxLengthReachedSignalType& MaxLengthReachedSignal(TextEditor textEditor) +{ + return GetImpl(textEditor).MaxLengthReachedSignal(); +} + +AnchorClickedSignalType& AnchorClickedSignal(TextEditor textEditor) +{ + return GetImpl(textEditor).AnchorClickedSignal(); +} + +InputFilteredSignalType& InputFilteredSignal(TextEditor textEditor) +{ + return GetImpl(textEditor).InputFilteredSignal(); +} + +void SelectWholeText(TextEditor textEditor) +{ + GetImpl(textEditor).SelectWholeText(); +} -InputMethodContext GetInputMethodContext( TextEditor textEditor ) +void SelectNone(TextEditor textEditor) { - return GetImpl( textEditor ).GetInputMethodContext(); + GetImpl(textEditor).SelectNone(); } -MaxLengthReachedSignalType& MaxLengthReachedSignal( TextEditor textEditor ) +void ScrollBy(TextEditor textEditor, Vector2 scroll) { - return GetImpl( textEditor ).MaxLengthReachedSignal(); + GetImpl(textEditor).ScrollBy(scroll); } } // namespace DevelTextEditor