forked from qt-creator/qt-creator
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:
@@ -55,6 +55,14 @@ using namespace CppTools;
|
|||||||
using namespace CPlusPlus;
|
using namespace CPlusPlus;
|
||||||
using namespace TextEditor;
|
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 CppEditor {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user