10068:7febcdccb2a1 | 10069:435cc5875135 |
---|---|
551 if self.__lexer is None: | 551 if self.__lexer is None: |
552 return "" | 552 return "" |
553 else: | 553 else: |
554 return self.__lexer.name | 554 return self.__lexer.name |
555 | 555 |
556 def styleText(self, start, end): | 556 def styleText(self, start, end): # noqa: U100 |
557 """ | 557 """ |
558 Public method to perform the styling. | 558 Public method to perform the styling. |
559 | 559 |
560 @param start position of first character to be styled (integer) | 560 @param start position of first character to be styled (integer) |
561 @param end position of last character to be styled (integer) | 561 @param end position of last character to be styled (integer) |
615 PYGMENTS_SUBHEADING, | 615 PYGMENTS_SUBHEADING, |
616 PYGMENTS_EMPHASIZE, | 616 PYGMENTS_EMPHASIZE, |
617 PYGMENTS_STRONG, | 617 PYGMENTS_STRONG, |
618 ] | 618 ] |
619 | 619 |
620 def defaultKeywords(self, kwSet): | 620 def defaultKeywords(self, kwSet): # noqa: U100 |
621 """ | 621 """ |
622 Public method to get the default keywords. | 622 Public method to get the default keywords. |
623 | 623 |
624 @param kwSet number of the keyword set (integer) | 624 @param kwSet number of the keyword set (integer) |
625 @return string giving the keywords (string) or None | 625 @return string giving the keywords (string) or None |