Commit c03e983e authored by Jan Möbius's avatar Jan Möbius

Sort the list of available functions

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14330 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 623ba827
......@@ -300,6 +300,9 @@ void ScriptingPlugin::showScriptWidget( ) {
}
// Sort the available functions
scriptWidget_->functionList->sortItems ( );
highlighterCurrent_->pluginPatterns_ = plugins;
highlighterCurrent_->functionPatterns_ = functions;
highlighterCurrent_->update();
......@@ -313,11 +316,6 @@ void ScriptingPlugin::showScriptWidget( ) {
// Bring it to foreground
scriptWidget_->raise();
// highlighterList_->pluginPatterns_ = plugins;
// highlighterList_->functionPatterns_ = functions;
// highlighterList_->update();
// highlighterList_->rehighlight();
}
void ScriptingPlugin::hideScriptWidget( ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment