Advanced Forum Search Results
-
Heh, damn. I suspected as much. I have hacked round the situation by clearing the context the user code executes in to cause it to error out as soon as possible. It does mean that there are some infinite loops the user can create and not break out of (which take the browser down).
Oh well, caveat emptor I suppose.
Michael
-
Hello all,
Thread.Abort is marked as internal in Silverlight. Are there any hacks or tricks to use it?
I'm executing user code with IronPython which I want to allow the user to interrupt and so I *don't* have the opportunity to use alternative techniques (such as using a BackgroundWorker and checking for pending cancellation or just ...
-
Ok, so the unit testing download is from a different place and it does have a binary release as a zipfile. :-)
A binary release of the Silverlight Toolkit that isn't a Windows installer would still be appreciated.
Michael
-
Hello all,
I want to use the Silverlight Toolkit (well, specifically the test stuff) on the Mac. The only releases I can see are installers - do I have to install onto a Windows box and then copy across or is there a simple way of getting the parts directly onto a Mac?
All the best,
Michael
-
Thanks for the reply. The solution I used in the end was to replace newlines with <LineBreak /> and where I needed to preserve spaces use &#160;.
Because the text formatting options in Silverlight are *so* limited I have managed to get most of what I want by nesting StackPanels with TextBlocks and Runs for inline formatting. ...
-
Hello all,
I'd like to show syntax highlighted source code in a Silverlight TextBlock. I have a project that will generate WPF FlowDocument XAML:
http://code.google.com/p/rst2xaml
I'd like to adapt it to also work in Silverlight. Silverlight TextBlock only supports a limited subset of FlowDocument, ...
-
You'll probably get more responses on the IronPython mailing list.
-
Could you post the actual error you get?
-
Sorry for the very late reply. This may be useful to someone else though. :-)
When you create a ScriptSource from source code as a string, by default it is interpreted as an expression. This is useful if you want to evaluate an expression and return a result.
If you want to execute code that has side effects (like a print ...
-
For creating IronPython Silverlight applications you are much better off using a Python IDE. There are lots of them around (my personal favourite being the Wing IDE), for example: WingKomodoSPEPythonwin Any good text editor (Vim, Emacs, Textmate, Ultraedit) will have support for Python syntax highlighting - Vim and Emacs both have ...