The Actipro Blog

All the latest UI control development news from Actipro

SyntaxEditor .NET Languages Add-on - VB Text Formatter

BlogPostBanner

Today I'd like to show off another new feature coming to the WPF and Silverlight .NET Languages Add-on:  Visual Basic text formatting!

As mentioned in our previous post, a similar feature is being added for the C# language.  Text formatters beautify code, making it more readable by adjusting whitespace.

Visual Basic Text Formatting Example

Let's see an example of some messy VB code loaded up in SyntaxEditor:

VB1

After formatting the document, the result is:

VB2

That's much nicer!

Intelligent Modifications

As described in a previous post, the best part about the text formatting feature is that SyntaxEditor only adjusts ranges it needs to.  It doesn't do a mass replace of the whole document.  For instance on line 23, it tweaks the leading whitespace on the line and removes the space before the end parenthesis, but doesn't touch the rest of the line.

All of the various text change operations involved in the formatting are merged into a single atomic text change that is added as a single undo stack item.  This makes it easy for the end user to quickly undo any formatting changes that were made.

Summary

These features will be in the 2013.1 versions of the WPF and Silverlight SyntaxEditor .NET Languages Add-on.

TaskDownload TaskLiveDemo TaskBuyNow

Code Writer v1.5 Released

BlogPostBanner

We just published v1.5 of Code Writer, our free text/code editor app, to the Windows Store.  This version adds touch-based text selection, new and improved file types, and more.

Touch-Based Text Selection and Context Menus

Past versions of Code Writer had support for the soft keyboard and touch-based scrolling in the editor.  But the editor was still missing the last couple pieces of desired touch functionality:  text selection and context menus.

TouchSelection

Version 1.5 adds complete touch-based text selection features to Code Writer, allowing you to fully edit files without a hardware keyboard!

Tap on a character to display the selection gripper.  Tap and drag the gripper to extend the text selection in either direction.  Once more than one character is selected, two selection grippers will be visible, one at the start of the selection and one at the end.  Both can be manipulated to alter the selection.

You also can tap and hold, tap the selection, or tap a selection gripper to show a context menu with common editing features like Cut, Copy, Paste, Undo, etc.  The context menu is intelligent and only shows applicable commands.

Live Tile Badge Notifications

Version 1.5 adds live tile badge notifications to the Windows start screen.

LiveTile

The notification is the number on the lower right part of the tile.  It tells you the number of unsaved documents that are currently open, helping you know when there is work left to be done.

New File Types

Asp.targetsize-48     AspNet.targetsize-48     Ini.targetsize-48

Several new requested file types have been added in this version:  ASP, ASP.NET, and INI.

Improved PHP File Type Features

Php.targetsize-48

We've improved the PHP file type to support full syntax highlighting of HTML, CSS, and other script blocks.  PHP also now supports color previews.

Startup and Memory Improvements

Numerous other minor enhancements have been made to aid in improving startup time and reducing memory usage.  In addition, the app now recovers better if an error occurs during startup.

Summary

With the addition of full touch support for text editing, this new version makes Code Writer the go-to solution for any kind of mobile text editing need.

Go to the Windows Store to download it, and help us by tweeting about the app!

TaskWideLearnMore TaskWideWindowsStore

Filed under: Actipro, Apps, New features

SyntaxEditor .NET Languages Add-on - C# Text Formatter

BlogPostBanner

Today I'd like to show off a new feature coming to the WPF and Silverlight .NET Languages Add-on:  C# text formatting!

Text formatters beautify code, making it more readable by adjusting whitespace.

C# Text Formatting Example

Let's see an example.  Here is some messy C# code loaded up in SyntaxEditor:

CSharpFormatter1

When we format the document, the result is:

CSharpFormatter2

That's a lot more readable!  The text formatter also has an option for whether open curly braces appear on the same or next line.

Intelligent Modifications

The best part about this feature is that SyntaxEditor only adjusts ranges it needs to.  It doesn't do a mass replace of the whole document.  For instance on line 7, it does a tweak of the leading whitespace on the line but doesn't touch the rest of the line.

All of the various text change operations involved in the formatting are merged into a single atomic text change that is added as a single undo stack item.  This makes it easy for the end user to quickly undo any formatting changes that were made.

Summary

These features will be in the 2013.1 versions of the WPF and Silverlight SyntaxEditor .NET Languages Add-on.

TaskDownload TaskLiveDemo TaskBuyNow

New Maintenance Releases of WPF/Silverlight Controls

We just published new maintenance release of both the WPF and Silverlight controls.  These new builds fix a SyntaxEditor problem that we introduced in the previous maintenance release, and also have several other minor SyntaxEditor tweaks and fixes in them.

Update details are described here:

We recommend that you get these latest v2012.2 maintenance releases.

Filed under: Actipro, Silverlight, WPF

Code Writer v1.4 Released

BlogPostBanner

Yesterday we released v1.4 of Code Writer, our free text/code editor app, to the Windows Store.  This version adds a lot of new features requested by users.

Major New Features

Obsidian Theme

A new theme has been added the is inspired by the classic Obsidian theme.

Editor

File Encoding Option

An option has been added to the Editor settings flyout, allowing you to specify a desired file encoding to use when saving files.  By default it will use logic that attempts to match the file's existing Unicode format (if present), and fall back to saving in UTF-8.

Middle Mouse Clicks to Close Documents

Middle mouse button clicks on the document tabs now close the document.

Color Previews Support rgb() and rgba() Syntax

Color previews now work for rgb() and rgba() syntax.

Horizontal Scrolling Support via Trackpad

Use trackpads and advanced mice to horizontally scroll documents.

Duplicate Line Operation

A new duplicate line operation can be executed from the Advanced Editing Operations gallery or via Ctrl+D.

Disable the Soft Keyboard

A new Editor settings flyout option allows the soft keyboard to be disabled from showing when the editor has focus.  This is ideal for touch-based reviewing of code.

Chord Hotkeys for Advanced Editing Gallery

New chord hotkeys have been added to some of the Advanced Editing Operations gallery items that didn't already have hotkeys.  For instance, pressing Ctrl+E then C will execute the comment selection operation.

New Modern Icons for File Associations

We've completely rebuilt our icons used for file associations in the desktop side, such as:

 FileTypes

Now file type icons all have high-resolution support and have a modern look with the Code Writer logo, and the same color associated with each file type.

Current Line Highlighting Remains Visible

Current line highlight now remains visible when focus is moved to other UI elements, such as the find/replace flyout, etc.

Summary

This new version adds some very nice enhancements to the app.  Go to the Windows Store to download it, and help us by tweeting about the app!

TaskWideLearnMore TaskWideWindowsStore

Filed under: Actipro, Apps, New features

SyntaxEditor .NET Languages Add-on Var and Dim Quick Info

BlogPostBanner

We're working on new features for our 2013.1 control releases and today I'd like to show off a new feature coming to the WPF and Silverlight .NET Languages Add-on in that version.

C# Var Quick Info

As seen in the screenshot below, hovering over var keywords will now show the resolved type.

CSharp

In this case, the resolved type for the randomNumbers variable is List<int>, which we aliased to Int32List above in the usings.

Visual Basic Dim Quick Info

Similar features have been added for the Dim keyword in VB.

VB

In this screenshot, the j variable is being assigned an Int32.

Summary

These features will be in the 2013.1 versions of the WPF and Silverlight SyntaxEditor .NET Languages Add-on.

TaskDownload TaskLiveDemo TaskBuyNow

Actipro Blog 2012 Q4 Posting Summary

PostBannerBlogPostSummary

What We Accomplished

In this quarter we added some huge new features to our WPF control products, such as new Metro themes, a window chrome implementation that works on any Window, Office 2013-like Ribbon Backstage, a reimplementation of RibbonWindow, and a lot more.  WinRT/XAML (Windows 8), Silverlight, and WinForms products also saw updates.

We have been working on features for 2013.1 versions of our products and should have some more details on what is coming soon.

We also released our Code Writer app for Windows 8, which is a free text and code editor application with lots of customization features and tabbed MDI support.  This app allows us to test out the port of SyntaxEditor to WinRT/XAML that we are working on.  It also helps us connect more directly with end users to learn more about what features end users are looking for in apps that use SyntaxEditor.

What’s Coming Next

We are currently working on prepping a new product for several platforms as well as new features for existing controls that will appear in the 2013.1 versions of our controls.  We are continuing to enhance the Code Writer app as well, and are working on the SyntaxEditor port to WinRT/XAML.

Blog Post List

Here is a quick categorized list of useful blog postings made in this quarter.

Control Product Development

Control Product Releases

Code Writer App

Tags: