The Actipro Blog

All the latest UI control development news from Actipro

SyntaxEditor - Auto-Case Correct

PostBannerSyntaxEditorDevNotes

Last week we posted about a new Markdown syntax language and new code block selection features coming to our SyntaxEditor code editor in the next 2013.1 maintenance releases of our WPF and Silverlight control products.

In today's post, I'd like to show off another major new feature that will be available:  auto-case correct.

Auto-Case Corrector Services

In the upcoming version, a new AutoCaseCorrector language service is included that can perform case-correction on documents as editing occurs.  This feature works out of the box on any languages (including your own custom ones) that use dynamic lexers, where the case sensitivity of patterns is set to AutoCorrect.

The new language service class can also be inherited and updated to work with programmatic lexers as well, which is what we did in the Visual Basic language in the .NET Languages Add-on.

Auto-correct features will be enabled (if they are implemented for a language) as long as the new SyntaxEditor.IsAutoCorrectEnabled property is set to true.

Case Correct Example

Let's look at a Visual Basic example of this new feature in action.

AutoCaseCorrect1

In this screenshot, I typed in all lowercase on line 23.  Next I pressed the Down key to move to the next line.

AutoCaseCorrect2

The auto-case corrector noticed that I edited the line and moved the caret to a new line, so it went back to auto-correct the previous line.  Note how the For, As, Integer, and To keywords were all cased appropriately.

The auto-correct text change was performed as an undoable change too, meaning the user could undo (Ctrl+Z) it if they weren't happy with the update.

Summary

Auto-case correct is a wonderful addition for any languages that use case-insensitive keywords, such as Visual Basic.  It will greatly improve the end user's editing experience, and is enabled on our Visual Basic, VBScript, and PowerShell languages.

This and other features are ready to go for the upcoming 2013.1 maintenance release, due soon.

TaskDownload TaskLiveDemo TaskBuyNow

WinForms Controls 2013.1 Released

BlogPostBanner

WinForms Controls 2013.1 build 310 has been released and is now available for download. Several enhancements and bug fixes are part of this build. 

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

TaskDownload TaskBuyNow

Tags:

SyntaxEditor - Markdown Language

PostBannerSyntaxEditorDevNotes

Yesterday we talked about the new code block selection features coming to our SyntaxEditor code editor in the next 2013.1 maintenance releases of our WPF and Silverlight control products.

Today I'd like to announce that we're including a new free sample syntax language for Markdown as well.

Markdown Syntax Highlighting

Markdown

The screenshot above demonstrates some of the Markdown syntax highlighting features that are included.

Summary

If you have an app that edits Markdown source, then SyntaxEditor with its free new Markdown language will improve the editing experience for your end users.

This and some other exciting unannounced features are ready to go for the upcoming 2013.1 maintenance release, due soon.

TaskDownload TaskLiveDemo TaskBuyNow

SyntaxEditor - Code Block Selection

PostBannerSyntaxEditorDevNotes

We've been hard at work on new features, many of which relate to SyntaxEditor, for the upcoming 2013.1 maintenance releases of our WPF and Silverlight products.

A new feature coming to SyntaxEditor that is already in our WinForms version is called code block selection.

What It Does

Code block selection is a feature where the view's selection can be expanded to include containing code blocks, and then later contracted all the way back down to the caret as appropriate.

For instance, in C# the first time you expand the selection (via Ctrl+Num+), it may select the containing identifier.  By expanding it again, it may select the containing expression, then the containing statement, then the containing method.  And so on up the compilation unit.

By contracting the selection (via Ctrl+Num-), it goes back and selects the previously selected block.  Contracting can occur recursively to go back to the original selection.

This feature can be implemented in any language (very easily so if your custom language uses our LL(*) Parser Framework), and we've done just that for the advanced C#, VB, and XML languages we provide.

A C# Example

Let's see how this works in the C# language from our .NET Languages Add-on.

CSharp1

The cursor starts in WriteLine.

CSharp2

The containing identifier is first selected.

CSharp3

Then the containing expression.  More...

Chart Features - Axes

BlogPostBanner

The recent 2013.1 versions of our WPF, Silverlight, and WinRT XAML controls added full-size charts products.axis1

One feature of our new Charts products are axes. Axes allow you to visualize the value range of your chart by labeling values.

Minimum and Maximum Values

Changing axis values such as Minimum and Maximum will determine what data displays on your chart and where. Here is the same data displayed in two charts. In the first, Minimum and Maximum are determined automatically.

axis2

In the second one, they are set manually to arbitrary values.

axis3

Axis Positioning

We have several capabilities to help you achieve the right look and feel for your application. The first is axis positioning, where you can place axes on either end of the chart.

axis4

Tick Intervals

Next is the ability to set the tick intervals. Here, we see two of the same chart. In the first, tick intervals are set to one month.

axis5

In the second, tick intervals are set to three months.

axis6

Grid

You can show major and minor ticks, and our grid feature allows you to extend those ticks behind the chart surface.

axis7

Styling Ticks

You can also style ticks to match your application.

axis8

Axis Labels

Axes can show labels on each major tick, and also a title. The angle of the labels is adjustable for when you need to put long labels on a small chart.

axis9

Summary

These are just a sample of some of the options available. There are a ton more. Download the trial and check it out!

TaskDownload TaskLiveDemo TaskBuyNow

WinRT XAML Controls 2013.1 Released

BlogPostBanner

Today we released the 2013.1 version of our WinRT XAML controls, which contains the complete implementation of our new full-size Charts product.

SampleBrowserRoot

Charts for WinRT XAML gives you the ability to embed great-looking area, line, scatter, and bar charts in your Windows 8/RT apps.  Use our new Charts controls to build touch-friendly dashboards and reports.  The controls share the same codebase with our WPF and Silverlight Charts products, allowing for easy porting of code between platforms.

ChartsBaseballStats

Advanced features include easy binding to any data source, multiple series, data aggregation, bar chart data slotting, legends, data point labels, baseline, axes, grid lines/stripes, ranges, and numerous palettes.

ChartsFinancialDashboard

Moving Forward

We're very happy to have the 2013.1 version released and moving forward will be adding more features to the Charts product.  We also are working on porting SyntaxEditor to the WinRT XAML platform and will post news on that in the future here.

Enjoy the new controls!

TaskDownload TaskLiveDemo TaskBuyNow

Tags: , ,
Filed under: Actipro, New product, WinRT, XAML

Actipro Blog 2013 Q1 Posting Summary

PostBannerBlogPostSummary

What We Accomplished

In this quarter we released the 2013.1 versions of our WPF and Silverlight control sets.  The 2013.1 versions add a new full-size Charts product that complements our existing Micro Charts product and allows you to create stunning charts for your apps.  Numerous new SyntaxEditor enhancements were added such as indicators (breakpoints, bookmarks, etc.) and C#/VB text formatting.  A new Metro Dark theme was added to WPF and can theme your entire app!  Our Sample Browser apps that ship with the WPF and Silverlight controls have been completely redesigned from scratch with a modern UI appearance.

Our Code Writer Windows 8 app received numerous enhancements: a new theme, new file types, full touch interaction support, new advanced editing operations, modern icons for file associations, live tile badge notifications, and more.  In the most recent update, the XML and XAML file types received some great updates like:  code outlining, end tag auto-complete, quick info, smart indent, syntax error reporting, and text formatting.

What’s Coming Next

We are currently working on updates to the Charts product, and will be adding more features and chart types during this quarter.  SyntaxEditor will continue to receive more new feature areas and enhancements.

In the WinRT/XAML space, we are continuing to port SyntaxEditor to this platform.  We are currently deciding whether to postpone its 2013.1 release (which has the new completed Charts controls too) so that a beta of SyntaxEditor for WinRT/XAML can be included as well.  If you are interested in beta testing SyntaxEditor for WinRT and haven't already contacted us, please write us.

Blog Post List

Control Product Development

Control Product Releases

Code Writer App

Tags: