[3.6] IDLE test_textview: add comments and test, increase coverage to 100% (GH-1641) (#2018)

(cherry picked from commit 295304d412700cc6621bb592109fa42249a9dcdb)
2 files changed