More work on `Quick Fix'.

This commit is contained in:
Roberto Raggi
2009-06-09 13:52:27 +02:00
parent e5fcbba7fc
commit 132258753a
10 changed files with 396 additions and 2 deletions

View File

@@ -134,6 +134,11 @@ void CppPlugin::initializeEditor(CPPEditor *editor)
// auto completion
connect(editor, SIGNAL(requestAutoCompletion(ITextEditable*, bool)),
TextEditor::Internal::CompletionSupport::instance(), SLOT(autoComplete(ITextEditable*, bool)));
// quick fix
connect(editor, SIGNAL(requestQuickFix(ITextEditable*)),
TextEditor::Internal::CompletionSupport::instance(), SLOT(quickFix(ITextEditable*)));
// method combo box sorting
connect(this, SIGNAL(methodOverviewSortingChanged(bool)),
editor, SLOT(setSortedMethodOverview(bool)));