[Ironpython-users] IronPython hosting - providing syntaxhighlighting (and intellisense?!) to customers

Nick Aschberger nicka at Vipac.com.au
Tue Mar 13 00:07:12 CET 2012

Thanks! I'll look into it.






From: Keith Rome [mailto:rome at Wintellect.com] 
Sent: Tuesday, 13 March 2012 2:06 AM
To: Nick Aschberger; ironpython-users at python.org
Subject: RE: [Ironpython-users] IronPython hosting - providing
syntaxhighlighting (and intellisense?!) to customers


At risk of sounding like an advertisement, I strongly recommend the
ActiPro SyntaxEditor controls.


We have used the WPF and Silverlight versions with great success. It
supports all of the features you mention (syntax highlighting,
Intellisense, code completion scopes) and many more. They have a
functional demo application with source code that exhibits all of those


Performance is great (be sure to enable ambient background parsing). We
even have it wired up so that after parsing/lexing, we take the python
source and run it through the IronPython compiler using a custom
ErrorListener, which is used to collect compilation errors that are then
fed into the ParseData output. And since we have a ParseErrorTagger and
custom SquiggleTooltipProvider installed into the parser, we get those
nice red squiggles directly under compiler errors in the source text
itself, along with detailed tooltips.


Sorry if I get carried away, but it's extremely cool stuff! Our python
editing environment is very slick; while it does not quite have the
features of Visual Studio's editor, it comes really close (we even
support breakpoints and stepping)... and it fully embeds in our WPF /
Silverlight products.



Keith Rome

Senior Consultant and Architect


Wintellect | 770.617.4016 | krome at wintellect.com
<mailto:rome at wintellect.com> 

www.wintellect.com <http://www.wintellect.com/> 


From: ironpython-users-bounces+rome=wintellect.com at python.org
[mailto:ironpython-users-bounces+rome=wintellect.com at python.org] On
Behalf Of Nick Aschberger
Sent: Monday, March 12, 2012 7:35 AM
To: ironpython-users at python.org
Subject: [Ironpython-users] IronPython hosting - providing syntax
highlighting (and intellisense?!) to customers


Hi All,


We are intending to use IronPython to provide a simple expression engine
to our customers.

This will give them the ability to calculate some of their own results
from data stored in the database.


Being a software project, I say "simple expression" but I can easily see
it migrating towards a "complex expression" when customers get more
familiar with python.


Now, I can just give them a text area to stick some text in, and maybe
some tools to help build this text but... it seems like I should be able
to do better than this, and it seems like something that others would
have solved.


I'd really like the UI that the customer uses to compose an expression
to have python syntax highlighting to help them.

Furthermore, if we make .NET objects/functions available to the python
script, it would be fantastic if the user had some kind of intellisense
available to help them when interacting with the types we would make
available to the scripts to use.


Any advice, or experience with this?




Nick Aschberger



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20120313/39acf0f3/attachment.html>

More information about the Ironpython-users mailing list