On Mon, 19 Jun 2017 07:55:01 +0900 Carsten Haitzler (The Rasterman)
<ras...@rasterman.com> said:

> On Sun, 18 Jun 2017 20:18:33 +0000 Andrew Williams <a...@andywilliams.me>
> said:
> 
> > Hi team,
> > 
> > Netstar pointed out something to me today that I had completely missed for
> > ages - elm_entry assumes you are typing markup. Type "a>b" and text_get
> > will return "a&gt;b" - what is the reason for this? It seems completely
> > crazy default behaviour.
> > Is there any reason we can't turn this off by default but provide the
> > markup filter in a way where it can be switched on as needed?
> 
> 1. can't change because this would break many apps that rely on it.
> 2. it's documented - labels and entries use textblock parts in edje. these use
> markup by default to be able to do styling.
> 3. the very first entry test shows use of markup - consider the elm tests
> documentation. they are intended as such. select some text in it hit "sel"
> that displays the text of the selection... boom. markup.
> 4. the fact that there is a markup to utf8 function does imply markup can be
> involved.
> 5. if you changed you'd break 11 of the current entry tests and have to change
> code (a very sure sign you broke a feature).
> 6. labels work like entries and do markup too - all the multi-line capable
> things in elm do this... it's a pattern.

7. VERY clearly documented:

https://docs.enlightenment.org/efl/current/group__Elm__Entry.html

scroll down... "formatted text".

> so ... not going to change.
> 
> 
> -- 
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to