by Bill Henning (Actipro)
February 23, 2010 at 06:53
The ZoomContentControl is a control we added to our Navigation for WPF product with the WPF Studio 2009.2 release. It makes it easy for an end user to scroll through any sort of large content.
WPF Studio 2009.2 build 515 (released this week) adds support for overlays, which are elements you add to layer on top of the content. When the content is scrolled or scaled, the overlays move accordingly but do not scale themselves.
In this QuickStart that ships with the product as of build 515, we show a vector map of the United States. We can add a pin to the map by clicking on the map.
In this screenshot, I clicked to add a pin by Cleveland, OH. Let’s zoom in and scroll a bit to see what happens… More...
by Bill Henning (Actipro)
February 22, 2010 at 14:07
We’ve just made the WPF Studio 2009.2 build 515 maintenance release available. This maintenance release includes some new features and bug fixes. Notable new features include ZoomContentControl overlays and SyntaxEditor IME input support.
We’ll describe these in more detail in upcoming posts. In the meantime, check out the detailed list of updates.
Download the WPF Studio evaluation now or if you are a customer, grab the new release from your account.
by Bill Henning (Actipro)
February 18, 2010 at 08:53
We’ve been continuing to develop the Silverlight version of our SyntaxEditor control, which is a syntax-highlighting code editor control similar to the VS 2010 editor.
We recently completed code outlining (folding) features in our WPF SyntaxEditor control and just finished porting those same features over to the Silverlight codebase as well.
Check the above video out… it shows SyntaxEditor for Silverlight’s run-time code outlining features in action.
Stay tuned to our blog for more information on SyntaxEditor for Silverlight as its development continues.
by Bill Henning (Actipro)
February 12, 2010 at 08:37
In the last blog post we discussed how to hide text regions without using the code outlining feature in SyntaxEditor for WPF. Today I’d like to show how you can replace the collapsed text regions with an intra-text adornment.
Here is a another open source QuickStart that ships with SyntaxEditor. In the editor, I will select some text and then press the Collapse Selected Text button at the top.
Similar to our last QuickStart, the text that was selected was hidden. The difference is that here, we have reserved some space in-line with the text and rendered a custom adornment in that space. The custom adornment could be anything, even a control. For this QuickStart, we made it look like a standard collapsed text adornment. More...
by Bill Henning (Actipro)
February 10, 2010 at 06:35
One of the recently added features of SyntaxEditor for WPF is the ability to hide a region of text independently of the code outlining feature.
Here is an open-source QuickStart (included with the SyntaxEditor samples) that shows the behavior I’m describing. In this QuickStart we have an editable SyntaxEditor on top and a read-only SyntaxEditor on the bottom that binds to the text of the editable SyntaxEditor. There is also a button above both that lets us collapse (hide) selected text.

In the screenshot, I’ve selected Actipro. and will now click the Collapse Selected Text button. What this does is tag the selection’s text range using an ICollapsedRegionTag. SyntaxEditor knows to watch for that tag and when it finds an instance, its text formatting engine collapses (hides) the tagged text range. More...
by Bill Henning (Actipro)
February 3, 2010 at 02:43
We just published WPF Studio 2009.2 build 514 and some of its new features are the culmination of over a month of work on the SyntaxEditor product. We’ve mentioned some of the new feature areas in our previous blog posts, but here is the list again:
- Collapsed text
- Intra-text spacers and intra-text adornment managers
- Code outlining
Build 514 includes 7 new samples specifically related to the features mentioned above. That brings our grand total to over 60 samples just for the SyntaxEditor product!
Our last blog post focused on a QuickStart included with build 514 that showed how to implement code reviewing right within the editor, via the use of intra-text adornments. Today I’d like to discuss code outlining.
What is code outlining?
Code outlining, also known as code folding, is the ability for an outlining node hierarchy to be constructed based on the contents of the document. The outlining node hierarchy is rendered visually within the new outlining margin as seen in the screenshot below:

A “+” or “-“ box in the margin shows where nodes start. Clicking those boxes toggles the collapsed state of the node. When a node is collapsed, its text is hidden and boxed-in collapsed text adornment is rendered in place of the hidden text. In the screenshot above, the boxed-in “/**/” is a collapsed multi-line comment node. More...