| 238 | } |
| 239 | |
| 240 | void CodeEditor::initSymbol() |
| 241 | { |
| 242 | auto locatorSrv = dpfGetService(LocatorService); |
| 243 | if (!locatorSrv) |
| 244 | return; |
| 245 | |
| 246 | SymbolLocator *locator = new SymbolLocator(workspaceWidget); |
| 247 | locator->setWorkspaceWidget(workspaceWidget); |
| 248 | locatorSrv->registerLocator(locator); |
| 249 | |
| 250 | SymbolWidgetGenerator::instance()->registerToDock(workspaceWidget); |
| 251 | } |
| 252 | |
| 253 | void CodeEditor::registerVariables() |
| 254 | { |
nothing calls this directly
no test coverage detected