Code Cleanup

- Removed unused text.cpp isWordEnd function.