getselectedtextnodes

make getselectedtextnodes return all the nodes if there is no direct
selection