Decker 1.59


Decker 1.59 is a maintenance update with many enhancements to the Grid widget and other minor usability enhancements.

Fixes (Web):

  • Corrected crashes when changing the font of an rtext span.

Fixes (Web and Native):

  • If the first column of a grid was set to width 0, a separator line was still drawn for subsequent visible columns.
  • When a grid is in "bycell" navigation mode, moving the cursor left and right will now skip over 0-width columns.

New Features:

  • Grids now offer two new column format codes, "t" and "T" which permit cells to contain rich text; the former is editable and the latter is "locked". This makes it possible to embed colored text, multiple fonts and inline images within grid cells.


(Note: at present, links within rtext within grid cells are only a visual effect; they are not "clickable")

With a bit of scripting, you could embed sparklines in a table or simulate the appearance of Excel-like "conditional formats":

  • Grids also recognize several "magic column names" which control the appearance of rows. If columns named "_fg", "_bg", or "_hideby" are present in the grid's table, they will be hidden from view. The _fg column controls the foreground pattern/color used in each row, the _bg column likewise controls the background pattern/color used in each row, and anywhere the _hideby column contains a truthy value the corresponding row will be hidden from view. These features permit many options for visually styling grids, but the most useful consequence of _hideby is as a mechanism for easily building "searchable" grids that narrow down displayed results without removing rows from the underlying table:


  • The new deck.corners attribute can be used to configure the pattern used for drawing the rounded "corners" of Decker while in fullscreen mode, with pattern 0 disabling the corners entirely; this setting is persisted with the deck. This feature is particularly useful for making small decks in iframes blend in more nicely with a surrounding web page.
  • In Native Decker, pressing Ctrl+S on an unsaved document will trigger "Save As..."
  • When editing rich text, insertions will now retain the pattern/color of the span preceding the insertion point instead of always inserting text with pattern 1. This change should help make the behavior less surprising.
  • The write[] function in Lilt and Decker can now optionally specify a custom 24-bit RGB palette of up to 256 colors when writing out an image, rather than being restricted to Decker's color palette. Note that when a custom palette is specified, Decker's normal advanced palette features (like 1-bit patterns and animated patterns) are not taken into account; an image must be "flattened" before it can be saved in this manner.

Files

Decker-1.59-mac.zip 2.7 MB
Sep 12, 2025
Decker-1.59-win.zip 2.4 MB
Sep 12, 2025
lilt-1.59.zip 488 kB
Sep 12, 2025

Get Decker

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

(+3)

Grids leveled up! And I'm very excited to be able to change the deck.corners to suit future projects. Thank you!