def __init__(self): self._properties = SilverCity.PropertySet() self._lexer = SilverCity.find_lexer_module_by_id(ScintillaConstants.SCLEX_PYTHON) self._keyword_lists = [ SilverCity.WordList(python_keywords), SilverCity.WordList(""), # hilighted identifiers ]
def __init__(self): self._properties = SilverCity.PropertySet() self._lexer = SilverCity.find_lexer_module_by_id(ScintillaConstants.SCLEX_CPP) self._keyword_lists = [ SilverCity.WordList(' '.join(sorted(GoLangInfo.reserved_keywords))), SilverCity.WordList(' '.join( sorted(GoLangInfo.predeclared_identifiers. union(GoLangInfo.predeclared_functions)))), ]
def __init__(self): self._properties = SilverCity.PropertySet() self._lexer = SilverCity.find_lexer_module_by_id( ScintillaConstants.SCLEX_TCL) self._keyword_lists = [ SilverCity.WordList(' '.join(sorted(keywords + v8_6_keywords))) ]
def __init__(self): self._properties = SilverCity.PropertySet() self._lexer = SilverCity.find_lexer_module_by_id( ScintillaConstants.SCLEX_PYTHON) self._keyword_lists = [ SilverCity.WordList(SilverCity.Keywords.python_keywords) ]
def __init__(self): self._properties = SilverCity.PropertySet() self._lexer = SilverCity.find_lexer_module_by_id(ScintillaConstants.SCLEX_UDL) lexres_path = _urlescape(self._get_lexres_path()) log.debug("escaped lexres_path: %r", lexres_path) self._keyword_lists = [ SilverCity.WordList(lexres_path), ]