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.
Summary: | Code Completion deletes lines in file | ||
---|---|---|---|
Product: | cnd | Reporter: | soldatov <soldatov> |
Component: | Code Completion | Assignee: | Vladimir Voskresensky <vv159170> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | patch |
Description
soldatov
2007-11-12 11:09:29 UTC
the problem is that we lost offset of called completion in case of some tokens sequences: # tokens or comment, whitespace tokens fixed: - clear expression stack on #-token - add empty variable to remember final offset when tokenizing was finished with whitespace or comments Created attachment 52888 [details]
patch
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; /shared/data/ccvs/repository/cnd/completion/src/org/netbeans/modules/cnd/completion/cplusplus/ext/CsmCompletionTokenProcessor.java,v <-- CsmCompletionTokenProcessor.java new revision: 1.15.2.1; previous revision: 1.15 done verified in RC2 candidate build |