mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-12 05:52:49 +03:00
eepp:
Added Sys::execute and Sys::getProcessFilePath (not tested on macOS, could be broken). ecode: Optimized document search (now is async). Improved auto-reload of plugins, should solve some issues. Added "New Window" option on Settings Menu.
This commit is contained in:
@@ -203,9 +203,11 @@ void FormatterPlugin::loadFormatterConfig( const std::string& path, bool updateC
|
||||
j["keybindings"]["format-doc"] = mKeyBindings["format-doc"];
|
||||
|
||||
if ( updateConfigFile ) {
|
||||
data = j.dump( 2 );
|
||||
FileSystem::fileWrite( path, data );
|
||||
mConfigHash = String::hash( data );
|
||||
std::string newData = j.dump( 2 );
|
||||
if ( newData != data ) {
|
||||
FileSystem::fileWrite( path, newData );
|
||||
mConfigHash = String::hash( data );
|
||||
}
|
||||
}
|
||||
|
||||
if ( !j.contains( "formatters" ) )
|
||||
|
||||
Reference in New Issue
Block a user