Code Cleanup

- Removed unused text.cpp visible function.