X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-editor-devel.cpp;h=adcff4c6fd5ca80379c267d32500cbd921a74263;hb=c8167ff058fc3e90229dd1ce99152d2180b3a16e;hp=875e2705e06b61747c21ca62d66d05867ba8b79a;hpb=fa86d00f5d97d5d7aaf936f83e217c730347c766;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 old mode 100755 new mode 100644 index 875e270..adcff4c --- 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,8 +1,5 @@ -#ifndef DALI_TOOLKIT_TEXT_EDITOR_DEVEL_H -#define DALI_TOOLKIT_TEXT_EDITOR_DEVEL_H - /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -24,16 +21,28 @@ namespace Dali { - namespace Toolkit { - namespace DevelTextEditor { +InputMethodContext GetInputMethodContext(TextEditor textEditor) +{ + return GetImpl(textEditor).GetInputMethodContext(); +} + +MaxLengthReachedSignalType& MaxLengthReachedSignal(TextEditor textEditor) +{ + return GetImpl(textEditor).MaxLengthReachedSignal(); +} + +void SelectWholeText(TextEditor textEditor) +{ + GetImpl(textEditor).SelectWholeText(); +} -InputMethodContext GetInputMethodContext( TextEditor textEditor ) +void SelectNone(TextEditor textEditor) { - return GetImpl( textEditor ).GetInputMethodContext(); + GetImpl(textEditor).SelectNone(); } } // namespace DevelTextEditor @@ -41,5 +50,3 @@ InputMethodContext GetInputMethodContext( TextEditor textEditor ) } // namespace Toolkit } // namespace Dali - -#endif // DALI_TOOLKIT_TEXT_EDITOR_DEVEL_H