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.
The caret position marker "^" doesn't get removed from the caretLine variable CslTestBase#computeHints causing the start offset to be -1 when computing hints (e.g. at line 3774), which in turn causes several tests to fail (hence P2). The getCaretOffset method attempts to remove the marker, but it doesn't work as it operates on a string passed as a method arg. I'll attach a proposed patch here soon.
Here's the patch, forgot to do this before my vacation last week.
Created attachment 84247 [details] past for CslTestBase
jet-main #477da8e95d56 Patch looks ok. Applied.
Integrated into 'main-golden', will be available in build *200907031400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/477da8e95d56 User: Marek Slama <mslama@netbeans.org> Log: #167541: Fix stripping of caret position marker.