update TextTools.py