On 10/23/07, Josiah Carlson <[EMAIL PROTECTED]> wrote:
> Yep, David's implementation works like a charm (he sometimes covers it
> in his intro algorithms course, or at least he did the first time I
> TA'd for him)

Small world!

> PyPE does pretty well in terms of auto indent on return for Python
> code, including the handling of open parens, curly braces, and square
> braces (tuple, list, or dictionary definitions).

I know you do most of your work on Windows, but have you seen this
bizarro error before?  I can't get PyPE to turn on the Python lexer
because it's having a problem with Red():

[ Tue Oct 23 21:30:48 2007 ] Style Change failed for python, assuming plain text
Traceback (most recent call last):
  File "pype.py", line 4518, in changeStyle
    StyleSetter.initSTC(self, stylefile, language)
  File "/opt/python/PyPE-2.8.8/StyleSetter.py", line 133, in initSTC
    stc.StyleSetSpec(num, style)
  File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/stc.py",
line 4905, in StyleSetSpec
    return _stc.StyledTextCtrl_StyleSetSpec(*args, **kwargs)
PyAssertionError: C++ assertion "Ok()" failed at
../src/gtk/colour.cpp(132) in Red(): invalid colour

I'm at wx 2.8.6.0

Thanks,

Rob

Reply via email to