MCPcopy Create free account
hub / github.com/SpartanJ/eepp / GlobalSearchController

Method GlobalSearchController

src/tools/ecode/globalsearchcontroller.cpp:8–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6static int LOCATEBAR_MAX_VISIBLE_ITEMS = 18;
7
8GlobalSearchController::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
17static bool replaceInFile( const std::string& path, const std::string& replaceText,
18 const std::vector<std::pair<Int64, Int64>>& replacements ) {

Callers

nothing calls this directly

Calls 2

subscribeMessagesMethod · 0.80
getPluginManagerMethod · 0.45

Tested by

no test coverage detected