forked from qt-creator/qt-creator
Clang: Add output argument highlighting
This adds a mix-in for writable functions arguments. Change-Id: I758f7fef77d992ea25395db550571ccb081fd5fd Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Nikolai Kosjar
parent
9d55d8485c
commit
63ae993bf2
@@ -313,6 +313,10 @@ TextEditorSettings::TextEditorSettings(QObject *parent)
|
||||
tr("Declaration"),
|
||||
tr("Declaration of a function, variable, and so on."),
|
||||
FormatDescription::ShowFontUnderlineAndRelativeControls);
|
||||
formatDescr.emplace_back(C_OUTPUT_ARGUMENT,
|
||||
tr("Output Argument"),
|
||||
tr("Writable arguments of a function call."),
|
||||
FormatDescription::ShowFontUnderlineAndRelativeControls);
|
||||
|
||||
d->m_fontSettingsPage = new FontSettingsPage(formatDescr,
|
||||
Constants::TEXT_EDITOR_FONT_SETTINGS,
|
||||
|
||||
Reference in New Issue
Block a user