A couple months ago we make a post on our blog asking if anyone would be interested in a port of our SyntaxEditor for WPF control over to Silverlight. We’ve had some tremendous feedback, both via comments on that posting and via e-mail, so we’ve moved forward with development on the product.
What is SyntaxEditor for Silverlight?
As many of you know, SyntaxEditor for WPF is the premier syntax-highlighting code editor control for the WPF platform. It is being constructed with a new next-generation object model based on our years of experience with SyntaxEditor for WinForms, the market leader in the WinForms platform. We’ve made a lot of posts about SyntaxEditor for WPF’s features in this blog.
The Silverlight version of SyntaxEditor is essentially a large subset of SyntaxEditor for WPF’s object model. For those who have used SyntaxEditor for WPF, the entire text/parsing library is completely converted to Silverlight. This means all the document, syntax language, parsing, etc. code works in Silverlight exactly the same as in WPF. The UI layer is mostly the same as well. Many of the UI features found in the WPF version are already implemented where possible in the Silverlight version.
What can I use it for?
The possibilities are endless. Want to have a web-based source code browser where you can edit your code from anywhere right in the browser? Want to build a web-based IDE? Want to just use the editor in read-only mode to provide rich visualization of code?
SyntaxEditor for Silverlight would fit right into any of those conceptualizations.
Let’s see the video!
Without further ado, let’s take a look at the first video of SyntaxEditor for Silverlight. In this video, I fire up the editor in an Internet Explorer page and do some typing and selection. Note that syntax highlighting is being driven from a syntax language that was created with our WPF Language Designer application.
I also have the smoke text effect enabled, which shows off the new adornment layers feature we’re currently working on. The smoke text effect is not something you’d normally have enabled in a production application, but it is a neat example of what you can do with our adornment layer framework.
Summary
There still is a lot of work to do on the Silverlight version before it would be production-ready. However we are trying to make some progress on it each day. And as we add any new features to the WPF version going forward, we are adding them to the Silverlight version at the same time.
We don’t have any target release dates at this point, but keep your comments coming and we’ll continue posting more details on the control.