Sfoglia il codice sorgente

Fixed delimiter options in StrUtils. Closes #238.

n1474335 7 anni fa
parent
commit
6220128a74
2 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  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",
                 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.
      *