From: jwq <jw...@us...> - 2019-06-23 07:24:41
|
As this changes decades-old Alpha behaviour it's neither: it is a regression. Alpha should not be silently altering data read from a file as that has the high potential to lead to *data loss*. There is extended discussion over at [MacDownApp/macdown#329]https://github.com/MacDownApp/macdown/issues/329) but that's largely incidental. Alpha's internal buffer does *not* always contain 0x0A `\n` line endings during an editing session because *text pasted into the buffer may contain 0x0D `\r` line endings or even 0x0C and other invisible characters.* The fact of the matter is that I need a tool which can detect and correct line ending problems. Alpha used to be that tool, and I need it to continue to be that tool. Please restore the decades-old established behaviour. --- ** [tickets:#216] Alpha No Longer Warns about Inconsistent Line Terminations (Line Endings)** **Status:** open **Created:** Sun Jun 23, 2019 02:15 AM UTC by jwq **Last Updated:** Sun Jun 23, 2019 07:05 AM UTC **Owner:** nobody I have files which *somehow* have mixed line ending markers. When these are opened in Alpha: 1. Alpha does not display the inconsistent line termination warning (it does display a wrap paragraph warning). 2. Alpha's window substitutes '\n' for '\r' so that a regexp search fails to find the '\r' characters which are present in the file. It would be great to have this fixed. --- Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |