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.
After fixing issue 159502 the DocumentUtilities.getText() works in a different way for BaseDocument (returns doc.getLength() + 1 long charsequence) and non-BaseDocument impls (returns doc.getLength() long charsequence). This issue fixes the problem to have doc.getLength() + 1 long charsequence for all document impls. Some lexer's tests need to be updated.
http://hg.netbeans.org/jet-main/rev/266bd7cf5522
Integrated into 'main-golden', will be available in build *200906020201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/266bd7cf5522 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #166336 - Fix DocumentUtilities.getText() for non-BaseDocument document impls.
v.
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/8d3d624fa0dc
v. in 6.7.1