public int getEndLine() { int nr = arg0.getStartingLineNumber() + 1; int nrE = nr; Tag endTag = arg0.getEndTag(); if (endTag != null) { nrE = endTag.getEndingLineNumber(); int offset = endTag.getStartPosition() - endTag.getEndPosition(); if (offset == 0) fEditor.addProblemMarker( endTag.getTagName().toLowerCase() + " is not correctly closed proposed line for closing is line " + nrE, nr, IMarker.SEVERITY_WARNING); } return nrE; }
public int getStartLine() { return arg0.getStartingLineNumber() + 1; }