Пример #1
0
 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
     ]
Пример #2
0
 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)))),
     ]
Пример #3
0
 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)))
     ]
Пример #4
0
 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)
     ]
Пример #5
0
 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),
     ]