mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-28 09:14:10 +03:00
Refactor in SyntaxDefinition and related classes.
Minor improvements in CPP, CSS, xit syntax highlighting. AI Assistant / LLM Chat now can restore previous opened chats and states (last model used, panel split), can have private conversations, can clone a previous conversation, plus some visual improvements. Fixed a bug in tab widget splitting.
This commit is contained in:
@@ -223,11 +223,12 @@ void AppConfig::load( const std::string& confPath, std::string& keybindingsPath,
|
||||
"git" == creator.first || "debugger" == creator.first ||
|
||||
"aiassistant" == creator.first );
|
||||
}
|
||||
pluginManager->setPluginsEnabled( pluginsEnabled, sync );
|
||||
|
||||
languagesExtensions.priorities = ini.getKeyMap( "languages_extensions" );
|
||||
|
||||
iniInfo = FileInfo( ini.path() );
|
||||
|
||||
pluginManager->setPluginsEnabled( pluginsEnabled, sync );
|
||||
}
|
||||
|
||||
void AppConfig::save( const std::vector<std::string>& recentFiles,
|
||||
@@ -372,6 +373,8 @@ void AppConfig::save( const std::vector<std::string>& recentFiles,
|
||||
for ( const auto& langExt : languagesExtensions.priorities )
|
||||
ini.setValue( "languages_extensions", langExt.first, langExt.second );
|
||||
|
||||
pluginManager->forEachPlugin( [this]( Plugin* plugin ) { plugin->onSaveState( &iniState ); } );
|
||||
|
||||
ini.writeFile();
|
||||
iniState.writeFile();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user