[gnome-text-editor] utils: add lf/cr/cr+lf to newline description



commit fc7c1ff697b8230d6e575122470a0d5c2e079f67
Author: Christian Hergert <chergert redhat com>
Date:   Thu Aug 5 11:22:03 2021 -0700

    utils: add lf/cr/cr+lf to newline description
    
    I don't want to change the OS names at this point, but we can at least add
    the kind of newline to them.
    
    Fixes #135

 src/editor-utils.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/editor-utils.c b/src/editor-utils.c
index 8de743e..1cd2a3f 100644
--- a/src/editor-utils.c
+++ b/src/editor-utils.c
@@ -343,9 +343,9 @@ static const struct {
   const char *id;
   const char *label;
 } line_endings[] = {
-  { GTK_SOURCE_NEWLINE_TYPE_LF, "unix", N_("Unix/Linux") },
-  { GTK_SOURCE_NEWLINE_TYPE_CR, "mac", N_("Mac OS Classic") },
-  { GTK_SOURCE_NEWLINE_TYPE_CR_LF, "windows", N_("Windows") },
+  { GTK_SOURCE_NEWLINE_TYPE_LF, "unix", N_("Unix/Linux (LF)") },
+  { GTK_SOURCE_NEWLINE_TYPE_CR, "mac", N_("Mac OS Classic (CR)") },
+  { GTK_SOURCE_NEWLINE_TYPE_CR_LF, "windows", N_("Windows (CR+LF)") },
 };
 
 static int


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]