Provides support for caret and selection inside JXMLComponent.