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.
Integrated into 'main-golden', will be available in build *200906020201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Miloslav Metelka <email@example.com>
Log: #166336 - Fix DocumentUtilities.getText() for non-BaseDocument document impls.
The fix has been ported into the release67_fixes repository.
v. in 6.7.1