Remove CR end-of-line option from KolibriOS editors #78

Open
opened 2024-06-14 10:53:38 +02:00 by ace-dent · 4 comments
Member

We should not be offering CR as a valid EOL marker when creating files.

The Carriage Return (CR) character (0x0D, \r) moves the cursor to the beginning of the line without advancing to the next line. This character was used as a new line character in Commodore and early Macintosh operating systems (Mac OS 9 and earlier).

We should not be offering `CR` as a valid EOL marker when creating files. The Carriage Return (CR) character (0x0D, \r) moves the cursor to the beginning of the line without advancing to the next line. This character was used as a new line character in Commodore and early Macintosh operating systems (Mac OS 9 and earlier).
Sweetbread added the
Reviewed
Won't Fix
label 2025-01-18 22:24:41 +01:00
Author
Member

@Doczom / @Sweetbread - please give a use-case where this is desirable?
Removing the option prevents accidentally creating 'broken' files, that are widely unsupported.

@Doczom / @Sweetbread - please give a use-case where this is desirable? Removing the option prevents accidentally creating 'broken' files, that are widely unsupported.
Owner

idk. I just added the label because of @Doczom

idk. I just added the label because of @Doczom
Author
Member

Reopening for further feedback. I raised this, having had to fix weirdly broken EOL in the source code... so clearly it does confuse users...

The feature was introduced by Anton Krotov 0d7861018a

Reopening for further feedback. I raised this, having had to fix weirdly broken EOL in the source code... so clearly it *does* confuse users... The feature was introduced by `Anton Krotov` https://git.kolibrios.org/KolibriOS/kolibrios/commit/0d7861018a544791f4473d6132f8e06ff21f202c
ace-dent reopened this issue 2025-05-03 11:06:47 +02:00
Author
Member

Again, I hit another issue due to CR line endings (not supported in git!). This wasted an hour of my time... see: 245e7b9886

Please @Doczom reconsider this as a defect! No User should be creating files with non-standard line endings.

Again, I hit another issue due to `CR` line endings (not supported in git!). This wasted an hour of my time... see: https://git.kolibrios.org/KolibriOS/kolibrios/commit/245e7b98860724b1a79ef5c3362000c3560bca72 *Please* @Doczom reconsider this as a defect! No User should be creating files with non-standard line endings.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#78
No description provided.