~This is branched off of #187 and will look like a mess until rebased.~ Rebased.
~It also will have a small merge conflict with #192.~ Fixed.
This PR creates a more robust pygn-mode--true-containing-node.
addressing whitespace subtleties -- if given a type, tries harder to return a node of that type, which may be higher up in the CST. This was especially relevant for recursive variations.
add support for :named special type
take depth into account when choosing from multiple nodes
improve docstring, clarifying that anonymous nodes are not considered
~This is branched off of #187 and will look like a mess until rebased.~ Rebased.
~It also will have a small merge conflict with #192.~ Fixed.
This PR creates a more robust
pygn-mode--true-containing-node
.:named
special typepygn-mode-inside-variation-p