All numeric edit boxes in Editors now allow you to specify the exact decimal place at which to round numeric values.
SyntaxEditor Touch Interaction
Touch-based input for operations such as scrolling, zooming, and selection have been greatly refined so that they are more natural.
IntelliPrompt Quick Info and Parameter Info
The previous build started supporting the use of syntax highlighting for foreground colors. A problem was that it was using some app resources for background colors, meaning some scenarios could occur where the foreground text would blend with the background.
The fix for this problem made in this new build is to use the editor view's background color as the background of the quick info and parameter info tips. That ensures the foreground colors always render in a readable way in regards to the background.
Code Writer v4.0 is a major update for Code Writer and is currently being published to the Microsoft Store.
Since there have been so many improvements and updates made to the core editor control (which is our upcoming v2019.1 UWP SyntaxEditor control) as part of this release, we are gradually rolling the update out.
ADDED: New version of the core text editor control with massive performance improvements.
ADDED: Multiple selections added via Ctrl+Click, each with their own caret.
ADDED: Support for cultural editing concepts like complex glyphs, bi-directional text, etc.
ADDED: Ctrl++ zooms in, Ctrl+- zooms out, and Ctrl+0 resets zoom to 100%.
ADDED: Hold down a scrollbar's arrow for several seconds to cause scroll speed to increase.
ADDED: Drag and drop support.
ADDED: Improved logic for several edit commands.
ADDED: Improved IntelliPrompt UI in general, now with vector images.
ADDED: The Ctrl+W close command closes the app if no documents are open.
About Code Writer
Code Writer is a free text and code editing app, downloadable from the Microsoft Store, and is used by thousands of people each day. Version 4.x requires the Windows 10 Fall Creators Update (version 1709) or later.
Want to get the latest news about Code Writer? Follow our @CodeWriterApp Twitter account.
If you are a Universal Windows app developer, you can download a free evaluation of our Universal Windows Controls to use in your own apps. Code Writer makes use of our SyntaxEditor, Docking/MDI, PropertyGrid, and Editors controls. SyntaxEditor is of particular interest because it lets you add advanced code and text editing to your own apps.
A new v2019.1 WPF controls maintenance release is now ready for download. This build improves the new search overlay pane, updates how IntelliPrompt quick info and parameter info tips are rendered, and fixes several bugs.
The search overlay pane will now automatically move the selection to the next match as the find text is typed.
In this example, we see how altering the find text causes the selection to instantly move to the next match.
IntelliPrompt Quick Info and Parameter Info
This build updates all IntelliPrompt quick info and parameter info tips to use syntax highlighting for foreground colors and new application-based theme brush resources for the background/border of the info tips themselves. Previously, info tips always rendered with a light background and generally used fixed colors for foregrounds.
This change was made to ensure that colors used in the info tips more closely resembles the actual syntax highlighting in SyntaxEditor. It also allows info tips in Metro Dark theme to use a dark background.
We are pleased to announce the release of the 2019.1 version of our WPF Controls. This version includes the massive SyntaxEditor enhancements and updates we’ve been working on that have previously been described as “SyntaxEditor vNext” in the blog.
Let’s dig in and see a handful of the larger SyntaxEditor updates.
The internals of SyntaxEditor have been heavily refactored to support a cross-platform API across the WPF, UWP, and WinForms platforms. This allows SyntaxEditor features for the three platforms to be kept in sync moving forward. The 2019.1 UWP and WinForms versions of SyntaxEditor will follow later this year.
Carets and Selection
Multiple selections, each with their own caret, are now supported. A new selection can be added by holding the Ctrl key when clicking in the text area or clicking on the selection or line number margins. Most edit actions have been refactored to fully support multiple selections. For instance, pressing Shift+Right Arrow will extend all of the selections by one character.
Copying text from multiple selections unions the selected text, joining each range's text with a line terminator. Pasting multi-line text into a view with the same number of selections as text lines being pasted will replace each selection with a related line from the pasted text.
Touch Selection Grippers
Selection grippers will show for the primary selection when touch input is used.
Carets now support movement at both the start and end of word wrapped lines.
Virtual space is now supported at the end of lines when a new option is enabled. Block selections can be made in virtual space at the end of lines, even without line end virtual space being enabled. This prevents the caret from snapping to an offset when making a block selection, which can sometimes be problematic.
Search Overlay Pane
A new search overlay pane displays over the upper-right of the active editor view when Ctrl+F (find mode) or Ctrl+H (replace mode) are pressed in a multi-line editor. A toggle mode button on the search overlay pane switches between find and replace modes, and all common search options are supported via toggle buttons and other controls. The search overlay pane can be closed by clicking the X button or by pressing Esc.
Ctrl+F3 will open the search overlay pane without focusing it, and will search forward for the currently-selected text. Ctrl+Shift+F3 will do the same but will search backwards.
F3 will search for the next match of the previously-used search options. Shift+F3 will search for the previous match of the previously-used search options.
If the SyntaxEditor.IsSearchResultHighlightingEnabled property is true, the search results can be highlighted while the search overlay pane is open. Closing the search overlay pane, clears the search result highlights.
The Metro Light and Metro Dark common image sets are now in vector form and render beautifully in high DPI.
Completion filters have been updated so when there are multiple active filters with the same ICompletionFilter.GroupName, any one of those filters can includes an item. Toggle button completion filters were changed to appear unchecked when they aren't active, which is more natural.
Ctrl Key Opacity Changes
The logic for making IntelliPrompt popups and the new search overlay pane semi-transparent when the Ctrl key is held has been refactored and improved. A brief delay was added before the opacity change occurs.
The scrollbar splitter button now has a larger appearance.
The view splitter can be dragged to the bottom of the view to remove the split and keep the top view.
Scrolling and Zooming
Smooth inertia-based touch scrolling has been added.
Auto ScrollBar Visibility
The horizontal and vertical scrollbars now support an Auto visibility option that will only display then when necessary.
Editor views can be scrolled horizontally with Shift+MouseWheel
Better logic was implemented for managing horizontal scroll maximums, especially when scrolling vertically.
New programmatic scroll methods were added that allow for aligning an anchor line to the top/center/bottom of a view with a specified pixel displacement, or scrolling by pixels.
Line Number Customization
A new line number provider language service was added that allows for complete customization of how line numbers are rendered in the line number margin. In addition, a property was added to the document that sets the line number for the first line in the document, defaulting to one.
The rendering of built-in indicator glyphs was improved.
The text rendering of long lines was improved.
.NET Languages Add-on
IntelliPrompt completion list toggle button filters were added for the various kinds of items displayed in the list. The IntelliPrompt completion filter UI (toggle buttons and tabs) only shows based on the available items in the unfiltered list. For instance, if there are no types in the list, no 'Types' toggle button filter is visible.
The optional Roslyn add-on was updated to use Roslyn v3.0.0.
Python Language Add-on
IntelliPrompt completion list toggle button filters were added for the various kinds of items displayed in the list. The IntelliPrompt completion filter UI (toggle buttons and tabs) only shows based on the available items in the unfiltered list. For instance, if there are no classes in the list, no 'Classes' toggle button filter is visible.