Devlogs
Decker 1.50
DeckerA downloadable tool for Windows, macOS, and Linux
Decker 1.50 is a maintenance release with important bugfixes and scripting enhancements for fields and grids.
Fixes (Web):
- Corrected spurious refusal of certain reserved names like "__proto__" as identifiers and table column names.
- Inserting new grid rows was not properly respecting the types specified for column formats when choosing initial fill values.
Fixes (Web and Native):
- Corrected possible crashes when using "print[]" and certain other built-in functions in modules during a "cold start".
- Corrected inconsistencies in pretty-printing of some tables with "show[]".
- Switched to a more robust algorithm for finding black/white tones during drag-and-drop ".hex" palette import.
Changes:
- FatBits zoom level now defaults to 4x instead of 8x.
- The manual "File -> Export Table" and "File -> Import Table" dialogs have been removed, as they were redundant with drag-and-drop table import and copying and pasting through the Grid Properties modal, provided no options for configuration or previewing, and were unnecessarily modal.
- Manually adding rows to a grid will now select and scroll to the added row, at column 0.
- Grid widgets now offer "grid.scrollto[row]", which will perform the minimum scroll necessary to ensure that the given row is visible on-screen, removing the need for complex and brittle user scripts to do the equivalent. Likewise, Field widgets now offer "field.scrollto[pos]" to ensure that a specified character position is visible.
- The RText interface now exposes "rtext.index[table (line,column)]" for turning logical text positions into a character position. It also now includes "rtext.find[table key ignorecase]", which is handy in combination with "field.scrollto[]".
- The Zazz module gets a minor generalization: "zazz.flipbook[]" can now accept the source as a non-canvas widget, indicating that the routine should operate upon a piece of the card background indicated by the widget's bounding-box. This brings the module to v1.1.