FindReplaceDocumentAdapter findReplaceAdapter = new FindReplaceDocumentAdapter(_document);
IRegion region = findReplaceAdapter.find(_documentRegion.getOffset(), attributeName + "=\"" + getAttributeValue(attributeName) + "\"", true, true, false, false);
if (region != null) {
String tmp = attributeName + "=\"";
return new Region(region.getOffset() + tmp.length(), region.getLength() - tmp.length() - 1);
} else {
return null;
}
/*
IRegion end = findReplaceAdapter.find(start.getOffset() + start.getLength(), "\"", true, true, false, false);