# 6.0.2

SUMMARY

This release includes fixes intended to make Tinderbox more reliable, chiefly newly-reported issues that had not been seen backstage. This release is recommended for all Tinderbox Six users.

Text editing

Added a new checkbox Smart Quotes to the Text pane of Document Settings. $SmartQuotes is now a preference attribute using this setting as the document default. (898)

Text highlighting is again available (Format>Style>Highlight menu) (928)

Cleaner handling of ⌘-left arrow and ⌘-right arrow, which are start and end-of-line in text pane but collapse/expand in right pane. If the text pane is active and the current selection can collapse or expand, it will be collapsed and expanded. If the current selection cannot collapse or expand or is already collapse or expanded, the arrow keys have their natural meaning. (938)

Map View

Select All followed by Expand Vertically failed to expand some notes that had never been displayed in the view, because their bounds rectangle was not set. We now set the bounds rectangle as needed. (908)

Clicking the lock of a locked adornment unlocks it; previously, the locked adornment couldn’t be clicked and so clicking the lock had no effect. (921)

Outline View

Indent and outdent notes in outlines was slow when ~500 notes or more were selected. Speeded this up by a about two orders of magnitude by avoiding unnecessary screen updates and skipping an O(n^2) collision-avoidance algorithm that didn’t work particularly well in any case. (932)

Notes that scroll into the bottom of the outline after an expand widget is collapsed were not being drawn because they were failing to receive updateValues. (947)

Get Info

The search field in Get Info:Attributes was not functioning properly because a the search field in the nib was not connected properly. (913)

The search field in Get Info will again select the intended attribute when typed or selected. (926)

Inspector

Fixed problems in inspector panes caused by misinterpreting the null hypertext. (923)

More inspector fixes. (923)

A crash could occur when setting the sort order of a smart adornment in the Action inspector, if the action inspector’s selectedCell method returns nil or a null object. (939)

A crash could occur when opening documents if the inspector is hidden but the current inspector pane is the document inspector. (941)

Explode

Explode’s delete delimiter option now deletes the delimiter. (924)

Other changes

New icon (thanks Robert Black, strategy cartoonist)

Text links for aliases include both the text links for the original and any text links that have been added to the alias. Note that creating a text link in the text of an alias does not add the link to the original note, even though both alias and original share the same text. (905)

For some reason, a note named “à” crashed Tinderbox because the name string couldn’t be turned into an NSString. This is bizarre, but a guard has been added to catch it. (924) Perplexing problems with notes beginning with, or sometimes containing, à and £ turned out to be an error in Parser::Trim, which was not properly unicode-aware in searching for non-breaking spaces and which, in consequence, improperly trimmed notes that began or ended with certain Unicode code points. (936)

Some legacy files grew to enormous size in Tinderbox Six, and increased in size whenever the file was saved. This problem turns out to have been caused by erroneous handling of file paths. Vestiges of MacRoman support led Tinderbox to specious encoding errors in some cases; these typically had no effect but in some cases could return incorrect and very long paths. (934)

Notes were sometimes marked as modified in the course of reading them from the document file, if the note had text or styled text. (940)

Corrected a layout error in chart view (943)

Corrected failure to create an agent if no note was currently selected. (952)