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.

Bug 98544 - Two code completion window appears for a class with a lond method name
Summary: Two code completion window appears for a class with a lond method name
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-21 19:06 UTC by Alexander Pepin
Modified: 2007-04-23 17:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2007-03-21 19:06:00 UTC
Steps to reproduce:
- create a new C++ project
- add a main C++ file
- declare a class containing a method with a long name, e.g.:
class A{
  public:
    void jhkhkjhjhkhkhjghghgjhkhkhkhjhjhkhkhkhkhkkkhkhkhjhjhjhhkjhhhkhkhkhkhk();
};
- in the main(int argc, char** argv) method type following code:
A a;
a.

Result: Two CodeCompletion windows appear one upon another.
Comment 1 Vladimir Voskresensky 2007-03-26 15:50:31 UTC
fixed.
- removed old engine

cvs log:
Removing
core/src/org/netbeans/modules/cnd/editor/spi/cplusplus/CompletionProvider.java;
/cvs/cnd/core/src/org/netbeans/modules/cnd/editor/spi/cplusplus/CompletionProvider.java,v
 <--  CompletionProvider.java
new revision: delete; previous revision: 1.1.2.1
done
Checking in core/src/org/netbeans/modules/cnd/editor/cplusplus/CCKit.java;
/cvs/cnd/core/src/org/netbeans/modules/cnd/editor/cplusplus/CCKit.java,v  <-- 
CCKit.java
new revision: 1.1.2.4; previous revision: 1.1.2.3
done
Removing
completion/src/org/netbeans/modules/cnd/completion/cplusplus/CompletionProviderImpl.java;
/cvs/cnd/completion/src/org/netbeans/modules/cnd/completion/cplusplus/CompletionProviderImpl.java,v
 <--  CompletionProviderImpl.java
new revision: delete; previous revision: 1.2.2.1.6
done
Removing
completion/src/META-INF/services/org.netbeans.modules.cnd.editor.spi.cplusplus.CompletionProvider;
/cvs/cnd/completion/src/META-INF/services/org.netbeans.modules.cnd.editor.spi.cplusplus.CompletionProvider,v
 <--  org.netbeans.modules.cnd.editor.spi.cplusplus.CompletionProvider
new revision: delete; previous revision: 1.2.2.1.6
done
Comment 2 Alexander Pepin 2007-04-23 17:10:47 UTC
verified in build 20070423