Selaa lähdekoodia

Fixed delimiter options in StrUtils. Closes #238.

n1474335 7 vuotta sitten
vanhempi
commit
6220128a74
2 muutettua tiedostoa jossa 7 lisäystä ja 1 poistoa
  1. 1 1
      src/core/config/OperationConfig.js
  2. 6 0
      src/core/operations/StrUtils.js

+ 1 - 1
src/core/config/OperationConfig.js

@@ -2154,7 +2154,7 @@ const OperationConfig = {
             {
             {
                 name: "Invert condition",
                 name: "Invert condition",
                 type: "boolean",
                 type: "boolean",
-                value: SeqUtils.SORT_REVERSE
+                value: false
             },
             },
         ]
         ]
     },
     },

+ 6 - 0
src/core/operations/StrUtils.js

@@ -104,6 +104,12 @@ const StrUtils = {
     },
     },
 
 
 
 
+    /**
+     * @constant
+     * @default
+     */
+    DELIMITER_OPTIONS: ["Line feed", "CRLF", "Space", "Comma", "Semi-colon", "Colon", "Nothing (separate chars)"],
+
     /**
     /**
      * Filter operation.
      * Filter operation.
      *
      *