mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 17:10:44 +08:00
Add config option for C/C++ suffix names when syntax highlighting.
This commit is contained in:
@@ -868,6 +868,8 @@ void SeerMainWindow::writeConfigSettings () {
|
||||
} settings.endGroup();
|
||||
}
|
||||
|
||||
settings.setValue("suffixes", highlighter.sourceSuffixes());
|
||||
|
||||
} settings.endGroup();
|
||||
} settings.endGroup();
|
||||
|
||||
@@ -953,6 +955,10 @@ void SeerMainWindow::readConfigSettings () {
|
||||
} settings.endGroup();
|
||||
}
|
||||
|
||||
if (settings.contains("suffixes")) {
|
||||
highlighter.setSourceSuffixes(settings.value("suffixes").toString());
|
||||
}
|
||||
|
||||
gdbWidget->editorManager()->setEditorHighlighterSettings(highlighter);
|
||||
|
||||
} settings.endGroup();
|
||||
|
||||
Reference in New Issue
Block a user