CppEditor: Add a comment in cppquickfixes.h to keep match() functions cheap

Change-Id: I60bb01df9db9d93752f8b574dfb61d3be35b974e
Reviewed-by: Lorenz Haas <lykurg@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Nikolai Kosjar
2013-06-14 11:26:40 +02:00
parent 46c8ae5d43
commit c7e6f56cf0

View File

@@ -55,6 +55,14 @@ using namespace CppTools;
using namespace CPlusPlus;
using namespace TextEditor;
///
/// Adding New Quick Fixes
///
/// When adding new Quick Fixes, make sure that the match() function is "cheap".
/// Otherwise, since the match() functions are also called to generate context menu
/// entries, the user might experience a delay opening the context menu.
///
namespace CppEditor {
namespace Internal {