Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-11 Thread Dino Viehland
Michael wrote: > The functions with 17 arguments that don't work... This is how you call > docutils programatically. I can trigger the bug with the rst2html.py > scripts but to dig into what is calling it I really want to call the > APIs directly. Ahh, yes, an easy work around would be to pass one

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-11 Thread Michael Foord
chael -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Tuesday, August 11, 2009 3:20 PM To: Discussion of IronPython Subject: Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text Dino Vie

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-11 Thread Dino Viehland
programmatic API? > -Original Message- > From: users-boun...@lists.ironpython.com [mailto:users- > boun...@lists.ironpython.com] On Behalf Of Michael Foord > Sent: Tuesday, August 11, 2009 3:20 PM > To: Discussion of IronPython > Subject: Re: [IronPython] FlowDo

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-11 Thread Michael Foord
Dino Viehland wrote: Michael wrote: Nope, no class definitions - it just uses .NET functionality. It's a very short bit of code really - 77 lines of which 30 lines are a dictionary defining a category mapping. I looked at this closer looking at all combinations of __new__/__init__ bein

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-11 Thread Dino Viehland
Michael wrote: > Nope, no class definitions - it just uses .NET functionality. It's a > very short bit of code really - 77 lines of which 30 lines are a > dictionary defining a category mapping. I looked at this closer looking at all combinations of __new__/__init__ being defined and calling the s

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-10 Thread Michael Foord
half Of Michael Foord Sent: Monday, August 10, 2009 5:03 PM To: Discussion of IronPython Cc: Discussion of IronPython Subject: Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text Any idea if docutils works? Michael -- http://www.ironpythoninaction.com On 11 Aug 2009, at 0

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-10 Thread Michael Foord
Michael -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, August 10, 2009 5:03 PM To: Discussion of IronPython Cc: Discussion of IronPython Subject: Re: [IronPython] FlowDocument XAML syntax highlight

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-10 Thread Michael Foord
Dino Viehland wrote: Michael wrote: If I use the unicodedata module from FePy then it *seems* to work. Although I do see a warning that I don't see under CPython: :1: DeprecationWarning: object.__new__() takes no parameters Not dug in to see where it comes from. It's a new warning in

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-10 Thread Dino Viehland
Michael wrote: > If I use the unicodedata module from FePy then it *seems* to work. > Although I do see a warning that I don't see under CPython: > > :1: DeprecationWarning: object.__new__() takes no parameters > > Not dug in to see where it comes from. It's a new warning in 2.6 - it could be that

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-10 Thread Michael Foord
--- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Harry Pierson Sent: Monday, August 10, 2009 4:57 PM To: Discussion of IronPython Subject: Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text Very cool Michael. FYI, p

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-10 Thread Michael Foord
IronPython Subject: Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text Any idea if docutils works? Michael -- http://www.ironpythoninaction.com On 11 Aug 2009, at 00:59, Dino Viehland wrote: FYI the fix is checked in and available on CodePlex as of l

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-10 Thread Dino Viehland
y, August 10, 2009 5:03 PM > To: Discussion of IronPython > Cc: Discussion of IronPython > Subject: Re: [IronPython] FlowDocument XAML syntax highlighting and > restructured text > > Any idea if docutils works? > > Michael > > > -- > http://www.ironpythoninaction

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-10 Thread Michael Foord
...@lists.ironpython.com] On Behalf Of Harry Pierson Sent: Monday, August 10, 2009 4:57 PM To: Discussion of IronPython Subject: Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text Very cool Michael. FYI, pygments runs in IronPython except for a but in their _automodule class in

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-10 Thread Dino Viehland
ython > Subject: Re: [IronPython] FlowDocument XAML syntax highlighting and > restructured text > > Very cool Michael. > > FYI, pygments runs in IronPython except for a but in their _automodule > class in pygments/lexers/__init__.py > (http://dev.pocoo.org/projects/pygments

Re: [IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-10 Thread Harry Pierson
RC. Harry -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, August 10, 2009 4:35 PM To: Discussion of IronPython Subject: [IronPython] FlowDocument XAML syntax highlighting and restructured text Hello all

[IronPython] FlowDocument XAML syntax highlighting and restructured text

2009-08-10 Thread Michael Foord
Hello all, Just to let you know I've started a project to generate FlowDocument XAML from reStructuredText source. There is also a pygments formatter so that source code can be formatted. The project, rst2xaml is at: http://code.google.com/p/rst2xaml/ So far it can cope with rest documen