Fix #274.  Add support for 'g~' with text objects.