Revision d42165d...

Go back to digest for 28th October 2012

Bug Fixes in Development Tools

Sven Brauch committed changes in [kdevelop] /cpp:

Fix c++ completion bug: don't insert "::::"

If you have something like
Foobar::var;
then you replace Foobar by another namespace (or just complete
it again by pressing Ctrl+Space Enter with the cursor somewhere
in the word), then you would have two double-colons. This patch
fixes that and also adds a unit test to verify the changes.

File Changes

Modified 3 files
  • /cpp
  •   languages/codecompletion/item.cpp
  •   languages/tests/test_cppcodecompletion.cpp
  •   languages/tests/test_cppcodecompletion.h
3 files changed in total