I can't find any exposed properties or methods for determining whether a code folding node is collapsed. Is there a way to do this? I would like to be able to save the node states when the file is saved and restore the nodes to the proper state when the file is reopened.
Thank you!