571 if self.__lexer is None: |
571 if self.__lexer is None: |
572 return "" |
572 return "" |
573 else: |
573 else: |
574 return self.__lexer.name |
574 return self.__lexer.name |
575 |
575 |
576 def styleText(self, start, end): # noqa: U100 |
576 def styleText(self, _start, end): |
577 """ |
577 """ |
578 Public method to perform the styling. |
578 Public method to perform the styling. |
579 |
579 |
580 @param start position of first character to be styled |
580 @param _start position of first character to be styled (unused) |
581 @type int |
581 @type int |
582 @param end position of last character to be styled |
582 @param end position of last character to be styled |
583 @type int |
583 @type int |
584 """ |
584 """ |
585 text = self.editor.text()[: end + 1] |
585 text = self.editor.text()[: end + 1] |
641 PYGMENTS_SUBHEADING, |
641 PYGMENTS_SUBHEADING, |
642 PYGMENTS_EMPHASIZE, |
642 PYGMENTS_EMPHASIZE, |
643 PYGMENTS_STRONG, |
643 PYGMENTS_STRONG, |
644 ] |
644 ] |
645 |
645 |
646 def defaultKeywords(self, kwSet): # noqa: U100 |
646 def defaultKeywords(self, _kwSet): |
647 """ |
647 """ |
648 Public method to get the default keywords. |
648 Public method to get the default keywords. |
649 |
649 |
650 @param kwSet number of the keyword set |
650 @param _kwSet number of the keyword set (unused) |
651 @type int |
651 @type int |
652 @return string giving the keywords or None |
652 @return string giving the keywords or None |
653 @rtype str |
653 @rtype str |
654 """ |
654 """ |
655 return None # __IGNORE_WARNING_M831__ |
655 return None # __IGNORE_WARNING_M831__ |