| 103 | } |
| 104 | |
| 105 | void CxxPlugin::registEditorService() |
| 106 | { |
| 107 | auto &ctx = dpfInstance.serviceContext(); |
| 108 | EditorService *editorSvc = ctx.service<EditorService>(EditorService::name()); |
| 109 | if (!editorSvc) |
| 110 | return; |
| 111 | |
| 112 | SciLexerCPP *lexerCpp = new SciLexerCPP; |
| 113 | editorSvc->registerSciLexerProxy(lexerCpp->language(), lexerCpp); |
| 114 | |
| 115 | SciLexerCMake *lexerCMake = new SciLexerCMake; |
| 116 | editorSvc->registerSciLexerProxy(lexerCMake->language(), lexerCMake); |
| 117 | } |
nothing calls this directly
no test coverage detected