[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-users
Subject:    Re: [e-users] Elementary entry newlines
From:       Matthew Carter <carter.matt.p () gmail ! com>
Date:       2011-07-28 2:25:53
Message-ID: CACrUVBQEmZAOHtaRoHAvtOh-=c+erkJ+eUOb_oy4vcBBsLNqhQ () mail ! gmail ! com
[Download RAW message or body]

I did a little more tinkering with it, and found I could press shift+enter
to insert the line break instead of the paragraph separator.  Would it be
possible to have an option in the entry API that switched this default?

On Wed, Jul 27, 2011 at 8:37 PM, Carsten Haitzler <raster@rasterman.com>wrote:

> On Wed, 27 Jul 2011 10:08:26 -0400 Matthew Carter <carter.matt.p@gmail.com
> >
> said:
>
> well it's a unicode char that is needed to get things like right-to-left
> text
> correct. as such elm is translating your enters into paragraph separators
> which
> is the only right way to know that you mean "start a new paragraph". as
> such
> though your keyboard doesnt have both enter and a paragraph key... so we're
> guessing on the conservative side to "get it right". we could do it the
> other
> way but then have a different issue instead - not displaying different
> paragraphs in differing languages in the right way. :)
>
> > Interesting. Thanks for the quick reply. I've done some googling on the
> > subject, but still haven't found a solution to get Vim to properly
> display
> > the paragraph separator. I know this is not a Vim support list, but if
> any
> > user knows a solution off-hand, I would like to know.
> >
> > On the plus side, leafpad does correctly display it.
> >
> > On Wed, Jul 27, 2011 at 1:19 AM, Carsten Haitzler <raster@rasterman.com
> >wrote:
> >
> > > On Tue, 26 Jul 2011 22:17:51 -0400 Matthew Carter <
> carter.matt.p@gmail.com
> > > >
> > > said:
> > >
> > > welcome to unicode. you're getting the unicode paragraph separator..
> which
> > > is
> > > actually much more technically correct than \n :)
> > >
> > > > Using entry widget from elementary, new lines are creating unexpected
> > > > character encodings. First noticed when viewing a file in vim that
> was
> > > > created with entry. Ran 'od -c' on the file and it shows that the new
> > > > lines from entry are producing the code triplet, 342 200 251. New
> > > > lines created using vim or leafpad correctly show '\n'. I set the
> > > > entry widget to save plain UTF8.
> > > >
> > > > Any thoughts?
> > > >
> > > > Thanks,
> > > > Matt
> > > >
> > > >
> > >
> ------------------------------------------------------------------------------
> > > > Got Input?   Slashdot Needs You.
> > > > Take our quick survey online.  Come on, we don't ask for help often.
> > > > Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> > > > http://p.sf.net/sfu/slashdot-survey
> > > > _______________________________________________
> > > > enlightenment-users mailing list
> > > > enlightenment-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> > > >
> > >
> > >
> > > --
> > > ------------- Codito, ergo sum - "I code, therefore I am"
> --------------
> > > The Rasterman (Carsten Haitzler)    raster@rasterman.com
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > Got Input?   Slashdot Needs You.
> > Take our quick survey online.  Come on, we don't ask for help often.
> > Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> > http://p.sf.net/sfu/slashdot-survey
> > _______________________________________________
> > enlightenment-users mailing list
> > enlightenment-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> >
>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    raster@rasterman.com
>
>
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic