Clarify the documentation for Node.nodesBetween. #92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-nodes-between-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This method's name is somewhat misleading, and the docs don't currently help clarify. The name and previous docs make it seem as though the callback will only be invoked for nodes that are entirely contained within the range, when in fact it is invoked for all nodes that overlap the range, including nodes that contain the range entirely.
This has tripped me up more than once!
Thanks!