SyntaxEditor Delimiter Auto-Complete Improvements

by Avatar Bill Henning (Actipro)
Tuesday, January 7, 2014 at 4:21pm

PostBannerSyntaxEditorDevNotes

Earlier last year we added delimiter auto-complete features to SyntaxEditor.  Delimiter auto-complete is where the user types a start delimiter and a related end delimiter is auto-inserted after the caret.  This is especially helpful when working on mobile tablets like a Surface since it means less overall typing is required to output the same code.  Best of all, with SyntaxEditor, these features can be easily added to any custom language.

Today I'd like to announce that we have rewritten and made improvements to the internal logic used to track delimiter auto-completions.  This means that as an end user encounters an already-completed delimiter, SyntaxEditor is more intelligent about how to handle various text change operations.

Example 1

Lets check out some of the enhancements.  We'll type in some JavaScript:

DelimiterAutoComplete1

In the screenshot above, the ) character was auto-completed when the ( character was typed.  Now let's type in some parameters:

DelimiterAutoComplete4

Next we will type the ) character even though it already exists in the document.  SyntaxEditor intelligently knows that the ) was previously auto-completed so it moves the caret past it without entering a second ):

DelimiterAutoComplete2

This sort of functionality works in the current SyntaxEditor version however only if there was nothing typed between the delimiters.  In the above scenario with the current version, since we typed in some parameter names, a second ) would have been typed.  With the most recently logic updates, SyntaxEditor now handles real-world scenarios much better.

Example 2

Let's start over to show another nice feature.  Here we've again typed a function and some parameters.  Note that the end ) was auto-completed while typing out the text so it appears after the caret.

DelimiterAutoComplete4

If we Backspace over the text and get to the start ( character, upon Backspacing over that, the related end-delimiter is automatically removed too:

DelimiterAutoComplete5

This feature works in the current version as well but again, only if there was nothing typed between the delimiters.  With the code updates, SyntaxEditor handles many more scenarios of typing within delimiters, and even multiple nestings of delimiters!

Summary

These new features will be available in the 2014.1 version of SyntaxEditor, in the WPF, WinRT/XAML, and Silverlight platforms, and will also appear in the next version of our free Code Writer Windows 8 app.

TaskDownload TaskLiveDemo TaskBuyNow

Actipro Blog 2013 Q4 Posting Summary

by Avatar Bill Henning (Actipro)
Sunday, January 5, 2014 at 11:57pm

PostBannerBlogPostSummary

What We Accomplished

In this quarter we published the 2013.2 version of our WinRT/XAML controls, as well as large maintenance releases of our other products with a lot of new features.

Our free Code Writer Windows 8 app saw a new release that added support for Windows 8.1, and took advantage of new UI concepts available in that version.

Behind the scenes, we also completely restructured and improved our internal process for source code management and build processes.  These updates have streamlined our day-to-day work and will allow us to serve our customers better.

What’s Coming Next

We are back from the holiday break and ready to dive right into new product development, along with enhancements to our existing controls, especially SyntaxEditor.

Blog Post List

Control Product Development

Control Product Releases

Code Writer App

WPF Controls 2013.2 Build 592 Released

by Avatar Bill Henning (Actipro)
Thursday, December 19, 2013 at 9:52pm

WPFBlogPostBanner

WPF Controls 2013.2 build 592 has been released and is now available for download.  This build focuses on numerous enhancements and bug fixes.  While many updates were made, major ones are listed below.

See the announcement post for the detailed list of enhancements and updates.

ProductHeadingGenericCharts_thumb_thumb

  • Added the ability to alter the label positioning mode algorithm for a series.

ProductHeadingGenericDocking

  • Improved support for high DPI scenarios.
  • Improved support for highlighting tabs when interop controls get focus.

ProductHeadingGenericMicroCharts

  • Added support for the Metro Dark theme.

ProductHeadingGenericPropertyGrid

  • Added a new Property Dialog QuickStart that shows how to display a dialog from a property editor.

ProductHeadingGenericSyntaxEditor_thumb_thumb

  • Added the ability to edit multiple lines of text at the same time when block selection is active.
  • Added incremental search features.
  • Added the ability to highlight search match results within a view.
  • Added support for alpha-blended foreground/background style colors.
  • .NET Languages Add-on - Added a 'deprecated' quick info note on types/members flagged as Obsolete.

ProductHeadingGenericThemes

  • Improved WindowChrome (and RibbonWindow) rendering in various scenarios.

TaskDownload TaskLiveDemo TaskBuyNow

WinRT XAML Controls 2013.2 Build 131 Released

by Avatar Bill Henning (Actipro)
Thursday, December 19, 2013 at 9:45pm

WinRTBlogPostBanner

WinRT XAML Controls 2013.2 build 131 has been released and is now available for download.  This build focuses on numerous enhancements and bug fixes.  While many updates were made, major ones are listed below.

See the announcement post for the detailed list of enhancements and updates.

ProductHeadingGenericCharts_thumb

  • Added the ability to alter the label positioning mode algorithm for a series.

ProductHeadingGenericSyntaxEditor_thumb

  • Added the ability to edit multiple lines of text at the same time when block selection is active.
  • Added incremental search features.
  • Added the ability to highlight search match results within a view.
  • Added support for alpha-blended foreground/background style colors.
  • .NET Languages Add-on - Added a 'deprecated' quick info note on types/members flagged as Obsolete.

TaskDownload TaskLiveDemo TaskBuyNow

Silverlight Controls 2013.2 Build 162 Released

by Avatar Bill Henning (Actipro)
Thursday, December 19, 2013 at 9:43pm

SilverlightBlogPostBanner

Silverlight Controls 2013.2 build 162 has been released and is now available for download.  This build focuses on numerous enhancements and bug fixes.  While many updates were made, major ones are listed below.

See the announcement post for the detailed list of enhancements and updates.

ProductHeadingGenericCharts

  • Added the ability to alter the label positioning mode algorithm for a series.

ProductHeadingGenericSyntaxEditor

  • Added the ability to edit multiple lines of text at the same time when block selection is active.
  • Added incremental search features.
  • Added the ability to highlight search match results within a view.
  • Added support for alpha-blended foreground/background style colors.
  • .NET Languages Add-on - Added a 'deprecated' quick info note on types/members flagged as Obsolete.

TaskDownload TaskLiveDemo TaskBuyNow