Listen for text changes.