| 6 | static int LOCATEBAR_MAX_VISIBLE_ITEMS = 18; |
| 7 | |
| 8 | GlobalSearchController::GlobalSearchController( UICodeEditorSplitter* editorSplitter, |
| 9 | UISceneNode* sceneNode, App* app ) : |
| 10 | mSplitter( editorSplitter ), mUISceneNode( sceneNode ), mApp( app ) { |
| 11 | mApp->getPluginManager()->subscribeMessages( |
| 12 | "GlobalSearchController", [this]( const PluginMessage& msg ) -> PluginRequestHandle { |
| 13 | return processMessage( msg ); |
| 14 | } ); |
| 15 | } |
| 16 | |
| 17 | static bool replaceInFile( const std::string& path, const std::string& replaceText, |
| 18 | const std::vector<std::pair<Int64, Int64>>& replacements ) { |
nothing calls this directly
no test coverage detected