Repository navigation
Lay out object specifiers as Mac OS 9.2.2 does - #77
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BBEdit Lite 6.1 builds an object specifier ("every text window") while opening its untitled window. A specifier's data handle isn't laid out like a record's, so this captures it on Mac OS 9.2.2 and follows it.
ObjectSpecifierCapture.cand its output: the data is the item count, a zero andwant,from,form,seld, a record without its header.Descriptor.classicData()andDescriptor(type:classicData:)read and write'obj 'that way, including a specifier nested in another.Descriptor.objectSpecifier(desiredClass:container:keyForm:keyData:)builds one.ObjectSpecifierTestscompares the bytes with the capture.Not covered: coercing a specifier to a record doesn't keep
'obj 'in the record's header as Mac OS does, and whatdisposeInputsdoes with the container wasn't settled.