From ad49b1678c08f91af54531815a58f4c22a20271a Mon Sep 17 00:00:00 2001 From: Sunhyun Kim Date: Mon, 26 May 2014 16:22:37 +0900 Subject: [PATCH] Add comment to SetMarkupProcessingEnabled() Application developer can confuse using SetMarkupProcessingEnabled(). i add one example. 1) TextView text = Toolkit::TextView::New( MarkupText[] ); 2) text.SetMarkupProcessingEnabled(true); developer can think MarkupText already enable markupProcessing. but SetMarkupProcessingEnabled is adapted after SetText(). so i added simply comment to SetMarkupProcessingEnabled(). --- capi/dali-toolkit/public-api/controls/text-view/text-view.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/capi/dali-toolkit/public-api/controls/text-view/text-view.h b/capi/dali-toolkit/public-api/controls/text-view/text-view.h index 796c18f..6bf42fe 100644 --- a/capi/dali-toolkit/public-api/controls/text-view/text-view.h +++ b/capi/dali-toolkit/public-api/controls/text-view/text-view.h @@ -557,6 +557,9 @@ public: /** * @brief Sets whether markup processing should be carried out. * + * To use markup, applications need to SetMarkupProcessingEnabled first, then SetText(). + * + * @see SetText() * @param[in] enable whether markup processing is carried out or not. */ void SetMarkupProcessingEnabled( bool enable ); -- 2.7.4