Added ability to lookup open editors/resources by type.