Patrick Wolf wrote:
Hi,
I was wondering if it's possible to embed the IronPython console with syntax
highlighting into a winform project.
There is a sample on code project:
http://www.codeproject.com/KB/edit/irontextbox2.aspx but it's missing the
syntax highlighting of the console.
Well,
It's be great to have a DLR-console library that has different UI-adapters,
like Winforms, WPF, Silverlight, etc. It's something we were considering adding
to Microsoft.Scripting.Hosting.Shell, but no one ever had time/a reason to do
it. So, keep that in mind if you actually try to build it,
Hi all,
I have a situation where I need to run a script many times with a different
scope each time. I want to be able to substitute an instance of a class
each time it is asked for. For example,
x = MyCSharpClass()
Using CustomSymbolDictionary I am able to store the class created
So, if I understand this right, you have user code, which you need to run each
time first ... and then your code which you want to run once after. Something
like:
// when your app starts, or something, compile your code, but don't run yet
var compiledCode =
What I am trying to do is run a user script over and over. Each time it
runs there will be different data in the object model that they access to
compute there values and such. The trick is they need to be able to access
values from prior runs. So the way I have addressed this is they create a
You can create the DataSeries object for them and include it in each call? Or
can you do something like:
def Init():
return DataSeries()
and only call their Init function once?
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of
Sorry for the slow response there's nothing that jumped out me immediately.
And the older versions make me inclined towards not investigating this too
deeply. Instead I talked to Jimmy about getting a new release of the ASP.Net
support for IronPython out so hopefully we can do that soon.