Menu

#57 Node interface for start and end tag start and end positions

ASAP
open
nobody
5
2010-01-24
2010-01-24
No

Currently, the Node interface offers the Node.getStartPosition() and Node.getEndPosition() methods. This is not that useful. What I often need is the start and end position of the closing tags, too. AFAIK they must be calculated manually. You should change the interface to reflect:

getStartTagStartPos()
getStartTagEndPos()

and

getEndTagStartPos()
getEndTagEndPos()

This would be much more useful.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.