OSDN Git Service

Avoid inserting another closing character when completing includes
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Fri, 24 Jul 2009 11:48:21 +0000 (13:48 +0200)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Fri, 24 Jul 2009 11:52:49 +0000 (13:52 +0200)
commit5271117e5be82b5ff80bb972e1638ee98c5b9725
tree42b7a900fd46fd26c7410d6c37384cf4b1fcf254
parentb49d715a1c36e6b1a42866f04a85b31b39a8b893
Avoid inserting another closing character when completing includes

When a closing character is already there, it shouldn't be appended.
Done by generalizing the same code for automatically inserted brackets
after C++ symbols.
src/plugins/cpptools/cppcodecompletion.cpp