forked from len0rd/rockbox
Theme Editor: Began implementing syntax highlighting. What I've accomplished so far isn't particularly useful for anything other than testing, so at the moment it will only function if activated in the preferences dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27624 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5848f5f724
commit
f8dd370ff8
9 changed files with 282 additions and 10 deletions
|
@ -47,6 +47,12 @@ void PreferencesDialog::loadSettings()
|
|||
loadColors();
|
||||
loadFont();
|
||||
loadRender();
|
||||
|
||||
QSettings settings;
|
||||
settings.beginGroup("CodeEditor");
|
||||
ui->completionBox->setChecked(settings.value("completeSyntax",
|
||||
false).toBool());
|
||||
settings.endGroup();
|
||||
}
|
||||
|
||||
void PreferencesDialog::loadColors()
|
||||
|
@ -144,6 +150,12 @@ void PreferencesDialog::saveSettings()
|
|||
saveColors();
|
||||
saveFont();
|
||||
saveRender();
|
||||
|
||||
QSettings settings;
|
||||
settings.beginGroup("CodeEditor");
|
||||
settings.setValue("completeSyntax", ui->completionBox->isChecked());
|
||||
settings.endGroup();
|
||||
|
||||
}
|
||||
|
||||
void PreferencesDialog::saveColors()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue