Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation for Accessor usage #1235

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

harrycollin
Copy link
Contributor

The usage stated that you can call a non-existent method on Document called listBuffers(). This exists on Root instead.

Changed:
.setBuffer(doc.listBuffers()[0]);

To:
.setBuffer(doc.getRoot().listBuffers()[0]);

The usage stated that you can call a non-existent method on Document called listBuffers(). This exists on Root instead. 

Changed:
   .setBuffer(doc.listBuffers()[0]);

To: 
   .setBuffer(doc.getRoot().listBuffers()[0]);
@donmccurdy donmccurdy merged commit be22095 into donmccurdy:main Jan 17, 2024
4 checks passed
@donmccurdy
Copy link
Owner

Thank you!

@donmccurdy donmccurdy added bug Something isn't working documentation labels Jan 17, 2024
@donmccurdy donmccurdy added this to the v4.0 milestone Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants