238 self.__menu.addSeparator() |
238 self.__menu.addSeparator() |
239 self.__menu.addAction( |
239 self.__menu.addAction( |
240 self.tr("Extract Function"), self.__jediServer.refactoringExtractFunction |
240 self.tr("Extract Function"), self.__jediServer.refactoringExtractFunction |
241 ) |
241 ) |
242 |
242 |
243 def __editorShowMenu(self, menuName, menu, editor): |
243 def __editorShowMenu(self, menuName, menu, editor): # noqa: U100 |
244 """ |
244 """ |
245 Private slot called, when the the editor context menu or a submenu is |
245 Private slot called, when the the editor context menu or a submenu is |
246 about to be shown. |
246 about to be shown. |
247 |
247 |
248 @param menuName name of the menu to be shown |
248 @param menuName name of the menu to be shown |