mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Optimized String::toString.
Revert a change in focus behavior in UIDropDownList since it's incorrect. Measure plugin load times.
This commit is contained in:
@@ -135,6 +135,7 @@ AutoCompletePlugin::~AutoCompletePlugin() {
|
||||
}
|
||||
|
||||
void AutoCompletePlugin::load( PluginManager* pluginManager ) {
|
||||
Clock clock;
|
||||
AtomicBoolScopedOp loading( mLoading, true );
|
||||
std::string path = pluginManager->getPluginsPath() + "autocomplete.json";
|
||||
if ( FileSystem::fileExists( path ) ||
|
||||
@@ -239,7 +240,7 @@ void AutoCompletePlugin::load( PluginManager* pluginManager ) {
|
||||
subscribeFileSystemListener();
|
||||
mReady = true;
|
||||
fireReadyCbs();
|
||||
setReady();
|
||||
setReady( clock.getElapsedTime() );
|
||||
}
|
||||
|
||||
void AutoCompletePlugin::onRegister( UICodeEditor* editor ) {
|
||||
|
||||
Reference in New Issue
Block a user