On Mon, Mar 22, 2010 at 8:47 AM, Carsten Haitzler <ras...@rasterman.com> wrote:
> On Mon, 22 Mar 2010 07:37:25 -0300 Gustavo Sverzut Barbieri
> <barbi...@profusion.mobi> said:
>
>> > hmm no... elm entry deals with text as markup - thus " gets escaped as
>> > html-style &quot; stuff. you want to use elm_entry_markup_to_utf8() to take
>> > the markup - formatting and all, and get you "plain text". it will give u
>> > 0'0" as opposed to having escapes.
>>
>> I told him so... and to remember again: to set entry AND textblock,
>> you need escape (or calling the functions that  escape automatically),
>> but NOT text, as there is no tag or other fancy support there.
>
> correct - thus the calls to convert to/from markup to utf8 plain text (for
> convenience of people who really just want plain boring text). they exist for
> just that purpose. but elm entry does markup natively as that is the only way
> you'll get fancy formatting, links/anchors, etc. and thus it'd be silly to 
> have
> its normal/native mode be plain text as this would limit entries to only that.

Yes, I explained this already... the initial problem is that Editje
uses entry, and Mike tried to add an text with chars that needed to be
escaped and then found that problem with "<...  Then I said "there
must be a conversion to unescaped version for TEXT, but not TEXTBLOCK
or Entry. So choose one way and either escape for TEXTBLOCK and ENTRY,
or unescape for TEXT"

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to