Improve text node selection
Improve text node selection

See https://github.com/hananils/parenthesistabs/commit/4a4decb07a51b2643387d77b4bf1ac4c3f32506a

symphonists/parenthesistabs,symphonists/parenthesistabs