Determines whether a node view should be considered selected for the given
editor selection.
A node is considered selected when the current selection fully covers it
(e.g. a NodeSelection). When selectedOnTextSelection is enabled, the
node is additionally considered selected if a TextSelection is fully
contained within the node's range.
Determines whether a node view should be considered selected for the given editor selection.
A node is considered selected when the current selection fully covers it (e.g. a
NodeSelection). WhenselectedOnTextSelectionis enabled, the node is additionally considered selected if aTextSelectionis fully contained within the node's range.