def keywords( self, setNumber ): " Adds True and False into the list of keywords " standardSet = QsciLexerPython.keywords( self, setNumber ) if standardSet is None: return standardSet return str( standardSet ) + " " + TREAT_AS_KEYWORDS
def keywords(self, setNumber): " Adds True and False into the list of keywords " standardSet = QsciLexerPython.keywords(self, setNumber) if standardSet is None: return standardSet return str(standardSet) + " " + TREAT_AS_KEYWORDS
def defaultKeywords(self, kwSet): """ Public method to get the default keywords. @param kwSet number of the keyword set (integer) @return string giving the keywords (string) or None """ return QsciLexerPython.keywords(self, kwSet)
def keywords(self, index): """ Reimplement keyword and add personnal keywords """ keywords = QsciLexerPython.keywords(self, index) or '' if index == 1: return Settings.instance().readValue( key='Editor/keywords-list') + " " + keywords return keywords
def keywords(self, index): keywords = QsciLexerPython.keywords(self, index) or '' # primary keywords if index == 1: return 'SDR SIR sdr' # secondary keywords if index == 2: return 'SIR ' + keywords # doc comment keywords if index == 3: return keywords # global classes if index == 4: return keywords return keywords
def keywords(self, _set): kw = QsciLexerPython.keywords(self, _set) return (kw + ' self') if kw else kw
def keywords(self, _set): kw = QsciLexerPython.keywords(self, _set) return (kw + " self") if kw else kw