Released 27 Feb 2023. Build number is 606.
Minor changes not necessarily warranting explicit mention in an aTbRef note:
- Action Code:
- The operator sum_if() and its kin now bind the 'that' designator as expected. For example,
sum_if(children,$Price>$Threshold(that),$Price)
, adds up the prices of each child of the calling note, provided that its price value exceeds a threshold stored in the parent note. - Assigning the $SiblingOrder of a note sometimes left the note with a sibling order one greater than the intended position.
- .captureWord and .captureToken crashed if the captured element terminated at the end of the string.
- collect() and related operators can again use find() as a designator.
- The operator sum_if() and its kin now bind the 'that' designator as expected. For example,
- Attributes:
- The countIf() operator sometimes reported a parsing error when no error was in fact observed.
- Attribute Browser view:
- In Attribute Browser, group headers were not sufficiently distinguished from normal rows. This was a temporary fix for a longstanding cosmetic glitch which cause the highlighting of group rows to fail intermittently and unpredictably. The underlying cause is that the NSTableView assumes that it is free to set the size and font of the textView field. We now longer use the textView field at all, and so the NSTableView no longer interferes. Essentially, from v9.5.2, the group headers are more clearly distinguished within the view.
- A potential hang occurred in attribute browser when the attribute browser's query was evaluated during an agent update.
- Corrected the layout of the Attribute Browser's column picker.
- Export:
- In HTML Export and Preview, superscripts and subscripts are now recognised and exported with the tag pairs $HTMLSuperscriptStart/End and $HTMLSubscriptStart/End.
- When referring to a template by name rather than full path, Tinderbox now uses the first template note of that name, searching in outline order. Previously, Tinderbox selected any note of that name, without checking that the note was intended as a template. This caused unexpected conflicts when template names like "Preview" were used elsewhere in a large document.
- When viewing the Preview of a note, Tinderbox was (understandably) confused if the export path of two or more notes were identical. For example, consider two different notes each export their contents to the file
/path/to/Note.html
. Of course, in a normal export, one exported note will overwrite the file exported by the other. Confusingly, however, this meant that if you selected a note while Preview was active, the selection would automatically switch to the first identically-named sibling. Instead, Tinderbox now allows you to select the intended note.
- Import:
- Pasting text from Microsoft Word® no longer places a useless applewebdata:// URL in the $URL attribute.
- Watching Tot works again, after an error in interpreting markdown caused trouble.
- Files with extension .md, .mmd, and .markdown that are dragged into a Tinderbox view are now converted to styled text. This was remarkably difficult.
- Inspector:
- Document Inspector, system tab, the $OutlineColorSwatch is now marked as deprecated (indicated by strikethrough text).
- When you are using the search field in the System Attribute Inspector, switching to another application and then returning to Tinderbox no longer resets the selected attribute. Instead, Tinderbox selects the attribute for which you were searching.
- Links:
- The link info widget (in map view) is again drawn correctly; a workaround for a system font metric issue is no longer needed.
- Corrected a crash when using only a prototype or a place as input for the ziplink method. E.g. [[@smith]] or [[#Person]].
- When the parking space control was used with the keyboard, it could display two superimposed copies of the link confirmation popover. This made keyboard cancellation problematic.
- Miscellaneous:
- Tinderbox 9.5 previews sometimes ended too soon, because Tinderbox incorrectly measured the length of the UTF8 string passed to the Preview pane.
- The built-in Preview template was incorrectly being removed from the Built-In Templates submenu of the File menu.
- Explode was confused if the explode action moved notes to a new container. Tinderbox now defers performing the action explode has created all its notes, and then perform the action on each note in turn.
- Avoided a crash when the currently-selected note has its link deleted by an action. The link animator must be notified in advance, as it is left holding a reference to animate the deleted link.
- Tagging at startup was disabled for documents >1000 notes as a performance optimisation. This may no longer be necessary. Tagging at startup should now be more reliable in all documents.
- $WordCount now works better in Chinese and several other languages.
- Resolved a potential crash because the stamps menu could be rebuilt while stamps were being used by actions.
- Adding Built-In Hints, either directly or by using the Preview pane, deleted existing stamps.
- Recursive word counts — used to measure the word count of a note and its descendants — are now significantly faster.
- Resolved a problem in parsing comments that included quotation marks, apostrophes, semicolons, or braces.
- Resolved a hang that could arise when accessing the $Path of a note in different queues.
- OS Dark/Light modes:
- Improved the dark-mode drawing of the composite name widget, and of monochrome badges against dark backgrounds.
- Text pane:
- Tinderbox text highlighting after Find now respects case-sensitive search.
- When a note's prototype is set or changed, the note copies the prototype's text if the note has none, or if the text it inherited from its former prototype has not been changed. If the prototype has text links, the note also acquires text links.
See v9.5.2 Release Notes for more detail of minor points.
This version is cited in the following notes:
- Agents & Rules tab
- Attribute name styles in listings
- attributes tab
- Colors
- Colour Swatches
- Dictionary.extend(itemDict)
- Displayed Attributes table
- Dragging in Apple Calendar events
- Flags in outlines
- HTMLSubscriptEnd
- HTMLSubscriptStart
- HTMLSuperscriptEnd
- HTMLSuperscriptStart
- Importing Markdown files
- List/Set.randomItem()
- New note name parsing for prototypes and locations
- Note Flags
- Number.ceil()
- Number.floor()
- Number.round()
- Outline tab
- OutlineColorSwatch
- Participants
- Pattern: bar(30)
- Pattern: vbar(70)
- Prototypes
- show(msgString[, backgroundColor[,colorString]])
- String.show([backgroundColor[,colorString]])
- String.wordCount()
- System tab
- User tab
- values([scope, ]attributeNameStr)
- View pane (note selected), pop-up menu
- WordCount