IRegion tagBegin = frda.find(widPos, "<", false, true, false, false);
IRegion tagEnd = frda.find(tagBegin.getOffset(), " ", true, true, false, false);
String htmlTag = document.get(tagBegin.getOffset() + 1, tagEnd.getOffset() - tagBegin.getOffset() - 1);
String htmlSnippet = htmlTag.toLowerCase();
if (htmlFile != null && "input".equals(htmlSnippet)) {
tagEnd = frda.find(tagBegin.getOffset(), ">", true, true, false, false);
htmlSnippet = document.get(tagBegin.getOffset() + 1, tagEnd.getOffset() - tagBegin.getOffset() - 1).toLowerCase().trim();
if (htmlSnippet.contains("type")) {
final String[] hss = htmlSnippet.split(" ");
if (hss != null) {
for (int j = 0; j < hss.length; j++) {