I caught following probrem in SilverCity-0.9.6.
>>> from StringIO import StringIO
>>> out = StringIO()
>>> from SilverCity import LanguageInfo
>>> pgen =
LanguageInfo.find_generator_by_name('python')()
>>> pgen.generate_html(out,'import test')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/usr/local/lib/python2.4/site-packages/SilverCity/Python.py",
line 60, in generate_html
lexer.tokenize_by_style(buffer, self.event_handler)
File
"/usr/local/lib/python2.4/site-packages/SilverCity/Lexer.py",
line 8, in tokenize_by_style
call_back
TypeError: expected sequence of 2 WordLists (1 provided)
New scintilla's LexPython.cxx has new WordList element
"Highlighted identifiers" at line 442. Then, I modify
PySilverCity/SilverCity/Python.py(13-15):
self._keyword_lists = [
WordList(Keywords.python_keywords),
WordList(),
]
Also in CSS.py and SQL.py, the same problems are.
Nobody/Anonymous
2006-02-18
Logged In: NO
I am having the exact same problem.
In fact, it looks like this is a problem faced by others as
well. Take a look at this:
Nobody/Anonymous
2006-09-05
Brian Quinlan
2006-11-23
Logged In: YES
user_id=108973
Originator: NO
Fixed in 0.97
Brian Quinlan
2006-11-23
Nobody/Anonymous
2009-01-28
<h1>Strom.Manchester Janeiro antenna polish?parishioner: </h1>