- Run Netbeans 6.0RC1
- Create project
- Create C++ header file
- Move cursor in next line after "#endif /* _NEWFILE1_H */"
- Press Ctrl-space
==> All strings after "#define _NEWFILE1_H" disappeared from editor
the problem is that we lost offset of called completion in case of some tokens sequences:
# tokens or comment, whitespace tokens
- clear expression stack on #-token
- add empty variable to remember final offset when tokenizing was finished with whitespace or comments
Created attachment 52888 [details]
verified in trunk build 20071113
Following high resistance process ...
I reviewed the fix.
I believe it is correct and safe.
cvs commit into release60:
Checking in CsmCompletionTokenProcessor.java;
new revision: 22.214.171.124; previous revision: 1.15
verified in RC2 candidate build