@scm-js/plugin-api 1.2.0 → 1.3.0

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.
Files changed (2) hide show
  1. package/index.d.ts +7 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1538,6 +1538,13 @@ export interface Preferences {
1538
1538
  */
1539
1539
  animateWaterSpeed: number;
1540
1540
  animateUnitsSpeed: number;
1541
+ /**
1542
+ * Preview the `<XX>` colour codes in strings the way **1.16.1** drew them: the colour
1543
+ * resets at every line break. Off is Remastered's rule, which carries a colour onto the
1544
+ * next line — see `editor/textColors.ts`. It changes only what the editor draws, never
1545
+ * the map, and every preview in the chrome reads it.
1546
+ */
1547
+ classicText: boolean;
1541
1548
  /**
1542
1549
  * Tools ▸ Test Map: whether to start the game after writing the map (desktop build), and
1543
1550
  * the game folder to use when the desktop build should not search ("" = search). The
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-js/plugin-api",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Type declarations for the scmJS plugin API",
5
5
  "license": "MIT",
6
6
  "types": "index.d.ts",