Re: [PATCH] Beautify line-ends handling yet more. - Mailing list pgadmin-hackers

From Nikolai Zhubr
Subject Re: [PATCH] Beautify line-ends handling yet more.
Date
Msg-id 561905AB.8020801@yandex.ru
Whole thread Raw
In response to Re: [PATCH] Beautify line-ends handling yet more.  (Dave Page <dpage@pgadmin.org>)
Responses Re: [PATCH] Beautify line-ends handling yet more.  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hello Dave,
09.10.2015 16:31, Dave Page wrote:
[...]
> I committed a modified version of this - Mac OS X uses \n as a
> line-end, so that makes a better default than the old-style \r used on
> Mac classic.

Ah, I didn't know that, thanks for explanation.

I suppose it is unlikely someone will use current (and future) releases
of pgamin3 on Mac classic, therefore I'd propose to also update the
corresponding preferences menu. Right now it shows 3 possibilities:

* Unix (LF)
* DOS (CRLF)
* Mac (CR)

Maybe it would make sense to only provide 2 with the following naming:

* Unix/Mac (LF)
* DOS/Windows (CRLF)

If it is OK then I'll craft a git diff for that (eventually).


Thank you,
Nikolai


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [PATCH] Beautify line-ends handling yet more.
Next
From: Dave Page
Date:
Subject: Re: [PATCH] Beautify line-ends handling yet more.