forked from qt-creator/qt-creator
Add hint to text editor settings pointing to coding style
The tab and indentation settings in Text Editor > Behavior are only used for non-code files. Add a hint with links to the respective coding style settings. Change-Id: I1d7c1154269c4914d511ef6ef3308a2b1f933d52 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#include "behaviorsettingswidget.h"
|
||||
#include "ui_behaviorsettingswidget.h"
|
||||
|
||||
#include "tabsettingswidget.h"
|
||||
|
||||
#include <texteditor/typingsettings.h>
|
||||
#include <texteditor/storagesettings.h>
|
||||
#include <texteditor/behaviorsettings.h>
|
||||
@@ -243,6 +245,11 @@ QString BehaviorSettingsWidget::collectUiKeywords() const
|
||||
return keywords;
|
||||
}
|
||||
|
||||
TabSettingsWidget *BehaviorSettingsWidget::tabSettingsWidget() const
|
||||
{
|
||||
return d->m_ui.tabPreferencesWidget->tabSettingsWidget();
|
||||
}
|
||||
|
||||
void BehaviorSettingsWidget::slotTypingSettingsChanged()
|
||||
{
|
||||
TypingSettings settings;
|
||||
|
||||
Reference in New Issue
Block a user