- autodetect xml file syntax in text viewer adn editor
- attempt to fix find text issue