From: Sunhyun Kim Date: Mon, 26 May 2014 07:22:37 +0000 (+0900) Subject: Add comment to SetMarkupProcessingEnabled() X-Git-Tag: dali-2014-wk22-release X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=ad49b1678c08f91af54531815a58f4c22a20271a;hp=c80891229bdd801ce5cbc02d68453b4aa7b59397 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(). --- 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 );