X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Flogical-model-impl.h;h=9f2fa31c00223d0ed9c37ad50819908843c539e2;hp=6ff820d0a30fb6340ab350cf9e0a2559151025d1;hb=964dd7f6a94f280063595dbb48fb8f1232836789;hpb=e37b253940d15cc29eccfc5f858605436e94eee6 diff --git a/dali-toolkit/internal/text/logical-model-impl.h b/dali-toolkit/internal/text/logical-model-impl.h index 6ff820d..9f2fa31 100644 --- a/dali-toolkit/internal/text/logical-model-impl.h +++ b/dali-toolkit/internal/text/logical-model-impl.h @@ -91,6 +91,9 @@ public: /** * @brief Retrieves the logical cursor index for the given visual cursor index. * + * @pre The method FetchBidirectionalLineInfo() must be called before. If the result of FetchBidirectionalLineInfo() is false, + * then the character is not in a bidirectional line and the result will be invalid. + * * @param[in] visualCursorIndex The visual cursor index. * * @return The logical cursor index. @@ -100,6 +103,9 @@ public: /** * @brief Retrieves the logical character index for the given visual character index. * + * @pre The method FetchBidirectionalLineInfo() must be called before. If the result of FetchBidirectionalLineInfo() is false, + * then the character is not in a bidirectional line and the result will be invalid. + * * @param[in] visualCharacterIndex The visual character index. * * @return The logical character index.