This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Based on bug #177660, for code like: int ln = td.oldTopLevel.lineMap.getLineNumber(start); int lineStart = td.oldTopLevel.lineMap.getStartPosition(ln); it sometimes may hold that: lineStart > start, which is strange. The most probable reason for this is that the LineMap is not updated after partial reparse.
http://hg.netbeans.org/jet-main/rev/fe446dbff1d0
Integrated into 'main-golden', will be available in build *201008060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/fe446dbff1d0 User: Jan Lahoda <jlahoda@netbeans.org> Log: #178862: rebuilding LineMap after partial reparse.