| 66 | } |
| 67 | |
| 68 | void PythonPlugin::registEditorService() |
| 69 | { |
| 70 | auto &ctx = dpfInstance.serviceContext(); |
| 71 | EditorService *editorSvc = ctx.service<EditorService>(EditorService::name()); |
| 72 | if (!editorSvc) |
| 73 | return; |
| 74 | |
| 75 | SciLexerPython *lexerPython = new SciLexerPython; |
| 76 | editorSvc->registerSciLexerProxy(lexerPython->language(), lexerPython); |
| 77 | } |
| 78 | |
| 79 | void PythonPlugin::registerPIPInstaller() |
| 80 | { |
nothing calls this directly
no test coverage detected