@trebco/treb 23.6.2 → 23.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/treb.d.ts CHANGED
@@ -771,23 +771,15 @@ export interface SetRangeOptions {
771
771
  spill?: boolean;
772
772
 
773
773
  /**
774
- * argument separator to use when parsing the input formula. by default,
775
- * parsing uses the current locale. that is not optimal, because you
776
- * do not necessarily know ahead of time where a spreadsheet may be viewed.
777
- *
778
- * set this option to call SetRange with a consistent argument separator.
779
- * the decimal separator is implied; if the argument separator is set to
780
- * comma (',') the decimal mark will be a dot ('.'); and if the argument
781
- * separator is set to semicolon (';') the decimal mark will be set to
782
- * comma (','). you cannot mix and match these values.
783
- *
784
- * @see EvaluateOptions for more discussion of this option.
774
+ * argument separator to use when parsing the input formula. set this
775
+ * option to call SetRange with a consistent argument separator,
776
+ * independent of current locale.
785
777
  */
786
778
  argument_separator?: ',' | ';';
787
779
 
788
780
  /**
789
- * allow R1C1-style references; these can be either
790
- * direct (e.g. R2C4) or offset (e.g. R[-3]C[0]).
781
+ * allow R1C1-style references; these can be either absolute
782
+ * addresses (e.g. R2C4) or relative to the cell (e.g. R[-3]C[0]).
791
783
  */
792
784
  r1c1?: boolean;
793
785
  }
@@ -1285,28 +1277,14 @@ export interface EmbeddedSpreadsheetOptions {
1285
1277
  export interface EvaluateOptions {
1286
1278
 
1287
1279
  /**
1288
- * By default, the Evaluate function will evaluate the expression in the
1289
- * current locale, meaning it will use the current locale's decimal separator
1290
- * and argument separator.
1291
- *
1292
- * If you do not want that behavior, set the argument separator explicitly.
1293
- * That will force evaluation using either comma (,) or semicolon (;) as the
1294
- * argument separator.
1295
- *
1296
- * Decimal separator is implied by the argument separator. If you set the
1297
- * argument separator to comma, the decimal separator will be dot (.). If you
1298
- * set the argument separator to semicolon, the decimal separator will be
1299
- * comma (,). You cannot mix-and-match these characters.
1300
- *
1301
- * Since you may not know where the code is being executed at run-time,
1302
- * using consistent argument and decimal separators makes sense. However we
1303
- * are leaving the original behavior as default for backwards compatibility.
1280
+ * argument separator to use when parsing input. set this option to
1281
+ * use a consistent argument separator independent of current locale.
1304
1282
  */
1305
1283
  argument_separator?: ',' | ';';
1306
1284
 
1307
1285
  /**
1308
1286
  * allow R1C1-style references. the Evaluate function cannot use
1309
- * offset references (e.g. R[-1]C[0]), so those will always fail.
1287
+ * relative references (e.g. R[-1]C[0]), so those will always fail.
1310
1288
  * however it may be useful to use direct R1C1 references (e.g. R3C4),
1311
1289
  * so we optionally support that behind this flag.
1312
1290
  */