Code Writer v2.1 Released

by Avatar Bill Henning (Actipro)
Wednesday, October 23, 2013 at 8:10am

CodeWriterBlogPostBanner

Code Writer v2.1, our free text/code editor app, is now live in the Windows Store.  This version focuses on adding full support for new features in Windows 8.1, along with adding some other great updates as well. 

Are you interested in adding code or text editing abilities to your own Windows Store apps?  SyntaxEditor for WinRT/XAML was just released, allowing you to build apps just like Code Writer.  Download a free evaluation to try it out.

Check out all the new features added to Code Writer…

Editing Multiple Lines of Text

We just posted an in-depth blog entry on updates coming to SyntaxEditor that allow for multi-line editing via block selections.  These features just launched in the WinRT/XAML version of SyntaxEditor and are part of today's Code Writer release as well.

MultiLineEditing

In this screenshot, you can see how a block selection spans multiple lines (it's a selection line after the s in lines on each line) and as I type, the characters appear on each line.  Tab (indent), Shift+Tab (outdent), Del (delete next character), Backspace (delete previous character), Shift+Del (delete to next word start), and Shift+Backspace (delete to previous word start) also work.

Windows 8.1 App Resizing Support

Windows 8.1 allows apps to resize to various small widths, not just the former "snapped" mode width from Windows 8.0.  In previous Code Writer versions, the app bars and Advanced Editing gallery were disabled in snapped mode.

CodeWriterSnapped

In the new Code Writer version, the app properly resizes itself and still allows full access to app bars and the gallery.  See the screenshot above for an example showing how the app bar buttons collapsed down to a compact size, which still providing app functionality.

Tappable App Bar Hints

To help aid in making app bars on various app screens more discoverable, we have added app bar hints to all screens that contain app bars.  We've used the standard ellipses indicators and have made them as unobtrusive as possible.

AppBarHint1

Here we see the main Editor screen.  Tapping the statusbar area will show the app bar.

AppBarHint2

Here we see the bottom right of the Add Document screen.  Tapping the app bar hint will show the app bar.

Large Live Tile Support

Our live tile implementation tells you all the open documents and whether they have been saved or not.  We have added support for the new large live tile size in Windows 8.1.

LargeLiveTile

Take a look at this previous blog post that provides more detail on how the live tile works.  The new large live tile is capable of displaying up to 18 open document names.

Miscellaneous

Numerous miscellaneous improvements have also been made:

  • Improved image for Windows 8.1 small tile size.
  • codewriter://reset-settings URL restores app settings defaults.
  • Improved the syntax highlighting of PHP code in HTML attributes.
  • Improved all icons to render crisper.
  • Improved the editor's touch-based selection gripper hit testing.
  • Improved the validation of custom file extensions in Settings.

Summary

Be sure to grab this latest update if you have Windows 8.1.  Or if you haven't tried Code Writer yet, go to the Windows Store to download it, and help us by tweeting about the app!

You can also download a free evaluation of our SyntaxEditor control for WinRT/XAML, which lets you add advanced code and text editing to your own Windows Store apps.

TaskWideLearnMore TaskWideWindowsStore

WinRT XAML Controls 2013.2 Released

by Avatar Bill Henning (Actipro)
Tuesday, October 22, 2013 at 10:57am

WinRTBlogPostBanner

The Actipro WinRT XAML Controls 2013.2 have been released and are now ready for download.  This version adds a complete port of our SyntaxEditor control and related add-ons, and also adds a number of new controls to existing products.

Major new features are described below.  See the announcement post for the detailed list of enhancements and updates.

A new WinRT XAML Studio bundle option is available that includes SyntaxEditor, Charts, Micro Charts, and our Shared Library.  The pricing saves you 40% over purchasing those products individually!  Best of all, once you have an active WinRT XAML Studio subscription, you will receive any new control products added to the bundle for free while your subscription is active.

If you are an existing customer of our individual WinRT/XAML controls and would like to switch to studio bundle at a discounted price, please contact our sales team.

ProductHeadingGenericSyntaxEditor

SyntaxEditor Control

Our SyntaxEditor control is fully ported and now is available for use in WinRT/XAML apps!  This code editor control lets you make any sort of IDE, script, or expression editor app.

SyntaxEditorSDIEditor

SyntaxEditor is a powerful text editing control that is packed with features for efficient code editing, including syntax highlighting, code outlining, parsing, line numbers, block selection, IntelliPrompt UI, zooming, adornments, single-line mode, and much more. It is built on top of our next-generation extensible text/parsing framework and has many of the same code editing features found in the Visual Studio code editor.  The WinRT/XAML version shares a codebase with the WPF and Silverlight versions of SyntaxEditor, making it easy to transition code between platforms.

Now you can build your own apps, just like our free Code Writer app in the Windows Store.

LL(*) Parser Framework

The LL(*) Parser Framework is Actipro's own framework for constructing robust text parsers that work standalone or with code editor controls like SyntaxEditor. The framework features grammars that are written in C#/VB using EBNF-like notation, customizable AST construction, advanced error handling/reporting, easy code injection, a complete debugger UI, and much more.

The framework is included with the SyntaxEditor control for WinRT/XAML.

.NET Languages Add-on

The SyntaxEditor .NET Languages Add-on is an optional add-on that provides automated IntelliPrompt completion lists, parameter info, quick info, code snippets, code outlining, parsing, AST construction, syntax error reporting, a resolver, formatting, and more for C# and Visual Basic documents.

Web Languages Add-on

The SyntaxEditor Web Languages Add-on is an optional add-on that provides automated IntelliPrompt quick info, code outlining, parsing, AST construction, syntax error reporting, end tag auto-complete, formatting, and more for XML documents.  It also includes advanced JavaScript editing with code outlining, parsing, syntax error reporting, formatting and more.

ProductHeadingGenericCharts

PieChart

A new pie chart control has been added to complement our other bar, line, area, and scatter chart offerings.

Pie

The pie chart supports advanced features like multiple label positioning and display options, legend display, nesting of multiple series, hierarchical data, and more.

DonutChart

Donut

Donut charts have been added as well.  All the same features found in pie charts are found in donut charts, and the hole radius is fully configurable.

Axis Tick Labels for Percentage Stacked Charts

PercentageStackingChart

When using stacking bar or area charts with the percentage axis option, the percentage value labels now display on the axis.

Improved Scatter Chart Samples

ScatterChart

A new and improved scatter sample has been added.

Dark Theme Support

Dark themes are now fully supported out-of-the-box.

ProductHeadingGenericMicroCharts

Multiple Part Property Paths in XPath and YPath

The XY charts now allow multi-part property paths to be specified in their XPath and YPath binding values.

Dark Theme Support

Dark themes are now fully supported out-of-the-box for controls like box plot and candlestick.

ProductHeadingGenericShared

RadialSlider Control

RadialSlider is a circular slider that can be used to input any scalar value.

RadialSlider

In the example above, a couple RadialSlider and RingSlice controls are combined to build a timer app.

RingSlice Control

RingSlice renders a portion of a ring at designated angles and radius.

RingSlice

The slice's start and end angles can be bound to any data and its appearance can be fully customized.  Make dotted lines, add different end cap styles, etc.

CircularThumb Control

CircularThumb is a thumb gripper with a circular shape and arrow adornment.  It is what the end user interacts with in a RadialSlider, as seen in the screenshot above.

TaskDownload TaskLiveDemo TaskBuyNow

SyntaxEditor Adding Multi-Line Editing Features

by Avatar Bill Henning (Actipro) - 2 comments
Friday, October 18, 2013 at 9:58am

PostBannerSyntaxEditorDevNotes

We've got an exciting new SyntaxEditor feature to announce that's been desired by a number of customers.  And best of all, it's coming to all our supported platforms:  WPF, Silverlight, WinRT/XAML (coming very shortly), and WinForms.

The new feature is the ability to edit multiple lines when a block selection is active, also known as column editing.  First, let's review block selections.

Block Selection

Block selection occurs when you hold Shift+Alt and press the arrow keys.  For instance if you press the Shift+Alt+Down shortcut a couple times, you create a block selection that in previous versions would end up selecting the entire three lines since its selection was zero-width (no real characters were selected).  If you then pressed Shift+Alt+Right, it would make a rectangular selection that is three lines tall and one character wide.

At this point you could extend the selection further and then copy it, move to a new location in the document, paste it, and the entire block would be pasted in place there.  This is a very handy editing feature in some scenarios.

Changes to Block Selection

In the next SyntaxEditor releases, we have altered how things work when you have the zero-width block selection.  Again this is the scenario where you start with no selection and press Shift+Alt+Down a couple times.  In the updated code, we now no longer show selection over all the lines and instead, render a thin line that displays where the block selection is.

BlockEditing1

In the screenshot above, you can see the blue lines that indicate the location of the zero-width block selection.

BlockEditing2

If we extend the block selection to the right, it become a rectangle that covers the class attributes.  We now can delete that by pressing Del.

Multi-Line Editing

Now let's get onto a demonstration of the new features coming for multi-line editing.

BlockEditing3

Again, I've created a zero-width block selection and now I'll start typing.

BlockEditing4

I've typed in the div tag again but I only did it once.  It automatically entered the characters I typed on each line that was part of the zero-width block selection.  That's pretty neat!

Not only does normal character typing work while doing multi-line editing, but Tab (indent), Shift+Tab (outdent), Del (delete next character), Backspace (delete previous character), Shift+Del (delete to next word start), and Shift+Backspace (delete to previous word start) also do.  For instance if I press Backspace to delete the last character I typed, the result is this:

BlockEditing5

The last character I typed (a >) is now gone in all three lines.

Summary

These sorts for multi-line editing features can really help increase productivity in a number of editing scenarios.  They will be included in the next releases of our WPF, Silverlight, and WinForms controls.  And they will be included in the upcoming WinRT version of SyntaxEditor as well.

WPF Controls 2013.2 Build 591 Released

by Avatar Bill Henning (Actipro)
Monday, October 14, 2013 at 5:22am

Silverlight Controls 2013.2 Build 161 Released

by Avatar Bill Henning (Actipro)
Monday, October 14, 2013 at 5:21am