Added configuration options for code completion

It is now possible to choose between case-sensitive or case-insensitive
completion. Also, you can now disable the automatic insertion of braces.
This commit is contained in:
Thorbjørn Lindeijer
2008-12-12 16:36:33 +01:00
parent 5c5167717f
commit 78f1fca9aa
10 changed files with 298 additions and 29 deletions

View File

@@ -63,7 +63,7 @@ QString GeneralSettings::trCategory() const
QWidget* GeneralSettings::createPage(QWidget *parent)
{
m_page = new Ui_GeneralSettings();
m_page = new Ui_GeneralSettings;
QWidget *w = new QWidget(parent);
m_page->setupUi(w);
@@ -77,7 +77,6 @@ QWidget* GeneralSettings::createPage(QWidget *parent)
connect(m_page->helpExternalEditorButton, SIGNAL(clicked()),
this, SLOT(showHelpForExternalEditor()));
return w;
}
@@ -89,7 +88,6 @@ void GeneralSettings::finished(bool accepted)
// Apply the new base color if accepted
StyleHelper::setBaseColor(m_page->colorButton->color());
EditorManager::instance()->setExternalEditor(m_page->externalEditorEdit->text());
}
void GeneralSettings::resetInterfaceColor()