Tweets by @Actipro
Please take some time to learn more about us and our product offerings.
Last week we had a customer write us who was rehosting the Windows Workflow Designer in their own WPF application. See these MSDN notes for documentation on how to do so.
The customer wanted to be able to use SyntaxEditor to create a custom VB Expression editor since it would allow them to have features like syntax highlighting and automated IntelliPrompt capabilities (via SyntaxEditor's .NET Languages Add-on).
In addition, the customer asked about being able to use our Docking/MDI product to add docking windows to host the designer's ToolBox and Properties windows.
We spent a few minutes and modified the Microsoft sample for rehosting the Windows Workflow Designer to integrate Actipro controls into it, and here's what we came up with:
You can see how tool windows (fully dockable) host the ToolBox and Properties views and the designer is hosted in the tabbed MDI area. In addition, SyntaxEditor (in single-line mode and with the .NET Languages Add-on) is used to provide automated IntelliPrompt features for editing expressions.
This really improves the UI experience for end users. If you are rehosting the Windows Workflow Designer in your own WPF app and would like the full source of our integration example, please write us and we'll be happy to send it to you.
UPDATE: Check out this newer blog post showing off enhancements for automated variable IntelliPrompt features.
In the past, Code Writer had a plain tile, which is still the case when no documents are open.
For version 2.0 we wanted to make the live tile really useful. Now the live tile will list the documents you have open:
In this screenshot, there are five documents open, sorted by the order in which they were last accessed. A checked box means that the document is unmodified. An unchecked box means that the document has pending changes that need to be saved. Also, as in previous versions, the number at the bottom right corner indicates the total number of unsaved documents that are open.
The tile is also very intelligent and updates its display based on how big it is and how many documents are open. If in the above screenshot only four documents were open, it would switch back to a single column display mode so that longer filenames could be visible.
In this screenshot, we've switched to a smaller tile. Since there are five documents open, not all of them can be listed on the four available lines. Thus we show the last three that were accessed, along with a "+ 2 more" to let you know that you have five total documents open.
With all this information, you have a heads-up display right on your Windows start screen about what you're working on in the app. We love this new feature!
End users have asked for printing support and we've delivered it in v2.0. You can print a document by opening the Windows 8 Devices charm or simply by pressing Ctrl+P.
Once a printer is selected, a flyout will display that shows a preview of what will be printed. Numerous options are also available, such as the ability to turn off syntax highlighting, show/hide line numbers, or show/hide whitespace markers.
Since Windows 8 allows you to print to an XPS Document Writer, you can print right to an .OXPS file (similar to a PDF) and send it to other colleagues or review it later on other machines.
The result is that the text after the caret moves two lines down and the caret indents on the middle line. This really helps typing efficiency. For some more detail, see the related SyntaxEditor post.
The Add Document, Help, and Release History screens have always been rather spartan:
This look remains the default when you first start Code Writer. While this is great and adheres to the Metro principles, we wanted to spruce things up by adding a new optional Twilight theme:
The twilight theme still keeps focus on the content as every good Windows Store app should, however it renders a night sky with a star field at the top, and multiple cloud layers at the bottom. Best of all, if you scroll the screen, you'll encounter parallax scrolling of the theme's elements.
The Twilight background theme option can be activated on the General flyout via the app's Settings charm.
Past versions of Code Writer supported clipboard copy and sharing via the Windows Share charm. In v2.0, we improved these areas further.
Here we see the Share charm flyout, where I've shared the document I'm editing. Notice how now the text that is added to the message is fully syntax highlighted and line breaks are passed correctly, both of which are part of the v2.0 improvements.
Copying text to the clipboard and pasting in other apps such as OneNote will also retain syntax highlighting.
Code Writer is smart in that if you have a dark editor theme active, all the syntax highlighting used for sharing and copying will be done in the light background theme so that it shows up properly in other apps.
This version adds protocol activation support. This means that you can enter codewriter:// in your browser to open Code Writer.
Commands can also be passed to Code Writer:
All of the protocol-based commands listed above can be easily executed from PowerShell by using the Start-Process cmdlet. This example shows how to open a local file (be aware of security notes above):
In past versions, Code Writer would display a mostly textual introduction screen the first time you used it. We never really liked that concept and wanted a more visual tutorial. In v2.0, when you first visit the Add Document and Editor screens, you are now presented with a single page tutorial overlay that gives some quick tips on how to use the page.
The screenshot above shows the Add Document screen tutorial.
Numerous miscellaneous improvements have also been made:
As you can see, this release adds a ton of great new features. Be sure to grab it.
Go to the Windows Store to download Code Writer, and help us by tweeting about the app!
WPF Controls 2013.1 build 583 has been released and is now available for download. This build focuses on minor enhancements and bug fixes.
See the announcement post for the detailed list of enhancements and updates.