v2020.1
8/26/2020 - Version 20.1.0402
Docking & MDI
- Improved the rendering of images and glyphs in high DPI.
- Added the TabStripRenderer.CanAutoScaleImages property, which defaults to true and determines if tab images are auto-scaled in high-DPI.
SyntaxEditor
- Updated the CollectionTagger.Clear method to accurately report the changed text range in the TagsChanged event when there are fewer than 100 tags being removed. Otherwise, the entire snapshot range is returned as before.
- Updated the virtual CodeSnippetSelectionSession.OnCompletionSessionInitializing method to perform sorting and be called after items have been added to the session, so that completion items and/or sorting can be customized prior to opening.
- Updated touch taps over a collapsed outlining node to select the node's text range.
- Added a setter for the SyntaxEditor.BorderColor property.
- Added a ThreadedParseRequestDispatcher constructor overload that allows for altering the thread priority.
- Improved the caret and selection moving speed on long lines.
- Improved the completion list and NavigableSymbolSelector rendering in high DPI scenarios.
- Adjusted the order of logic that executes when the SyntaxEditor.Document property is set.
- Fixed a bug where the caret didn't track properly on extremely long lines.
- Fixed a bug where collapsed region adornments may flicker when a SyntaxEditor with word wrap enabled would resize.
- Fixed a bug where a collapsed region adornment that was word wrapped to the start of another view line would show a duplicate expander box in the outlining margin.
- Fixed a bug where a collapsed region adornment that was word wrapped to the start of another view line would show its quick info in the wrong location.
- Fixed a bug where caret movement didn't work properly around a collapsed region adornment at the end of a document.
- Fixed a bug where the current line highlight bounds included any intra-line adornments.
- Fixed a bug where a code snippet without any SnippetTypes specified should have been allowed anywhere.
- Fixed a bug where using the mouse to commit a code snippet selection session might not focus the view afterward.
- Fixed a bug where font fallback didn't always work properly for some fonts on systems with certain cultures.
- Fixed a bug where the selection in a non-active view of the current document didn't always update properly.
- Fixed a bug where IntelliPrompt popups in a split view might not show in the correct location.
- Updated the Language Designer application.
.NET Languages Add-on
- Fixed a bug where the resolver wasn't properly resolving interpolated string expressions.
- Fixed a bug where C# event accessor declarations didn't support lambda expression bodies.
Shared
- Improved the WinUICore framework to call its MouseDown events with HandledMouseEventArgs.
- Improved the rendering of OwnerDrawMenuItem images and glyphs in high DPI.
- Added the OwnerDrawMenuItem.CanAutoScaleImage property, which defaults to true and determines if images are auto-scaled in high-DPI.
4/16/2020 - Version 20.1.0401
Bars
- Added several VisualStudio2002BarRenderer color properties to support customization of toolbar shadows and separators.
SyntaxEditor
- Added a new background that renders the search range when the search overlay pane is in Selection scope mode.
- Improved search overlay pane logic related to the selection scope range.
- Added the IsTextDataBindingEnabled property, which can be set to true to allow data binding to the SyntaxEditor.Text property.
- Updated the SyntaxEditor.BackColor and ForeColor properties to support overriding the plain text style.
- Updated IntelliPrompt code snippets to convert tabs to spaces when ITextDocument.AutoConvertTabsToSpaces is set to true.
- Updated logic so that when changing the SyntaxEditor.IsVirtualSpaceAtLineEndEnabled property to false, a virtual selection will be moved to document offsets.
- Updated several static members on HtmlContentProvider to be methods that take a IHighlightingStyleRegistry parameter, thereby allowing the content provider to do highlighting style lookups in the same registry used by a target view.
- Updated the search overlay pane when opened to not auto-search for tabs that may surround a zero-length selection.
- Updated the search views to allow Ctrl+Enter to execute a Find All search operation when the Find textbox has focus and IsFindAllButtonVisible is true.
- Updated mouse wheel scrolling to still work when the related scrollbar is hidden. It is recommended to set SyntaxEditor.CanScrollPastDocumentEnd to false when hiding the vertical scrollbar.
- Updated the SyntaxEditor.PasteDragDrop event to fire for drops within the same control, so that the accepted operation can be forced to Copy if desired.
- Updated the 'Adornments - Squiggles Intro' QuickStart to show a more realistic scenario of tracking developer-specified tagged ranges.
- Added the SyntaxEditor.Renderer property, which can be set to a SyntaxEditorRenderer object that supports custom ScrollBar and splitter rendering.
- Fixed a bug where right-to-left editing wasn't working properly for some languages.
- Fixed a bug where collapsible region highlights didn't render in the correct vertical location in a certain scenario.
- Fixed a bug where a SyntaxEditor in single-line mode didn't have the proper default padding.
- Fixed a bug where word-wrapped lines might not arrange properly in a certain scenario with multiple sequential SyntaxEditor size changes.
- Fixed a bug in the language service sorting logic.
- Fixed a bug where semi-transparent images might not render properly when using TextViewDrawContext.DrawImage.
- Fixed several language services that were previously allowed to function on inactive views.
- Fixed a bug introduced in the previous build where opening an IntelliPrompt quick info session could throw an exception in a certain scenario.
- Fixed a bug where the caret wouldn't flip to white when a dark editor background was used.
- Fixed a bug where a tagger that derived from TaggerBase didn't clear its Document property value when the attached document's syntax language was changed.
.NET Languages Add-on
- Improved the C# and VB context factories for improved IntelliPrompt parameter info.
- Fixed a bug where certain generic method constraints could prevent the method from showing in IntelliPrompt.
- Fixed a bug where a syntax error could occur when using a C# null-coalescing operator in a certain scenario.
Web Languages Add-on
- Fixed a bug where the XML parser could throw an exception in a scenario where a syntax error occurred in header or footer text.
All
- Added 'Open Product Documentation' and 'Open VS Sample Project' menu items to the sample project's 'Navigate To' menu.
- Improved the product installer.
11/13/2019 - Version 20.1.0400
Docking & MDI
- Improved the selected tabbed MDI container to not repaint its contents when its parent Form is activated or deactivated.
SyntaxEditor
Cross-Platform Design
- The WinForms SyntaxEditor has been rewritten 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.
Scrolling and Zooming
- Added smooth inertia-based touch scrolling.
- Added support for Shift+MouseWheel to scroll editor views horizontally.
- Added the IEditorViewScroller.ScrollTo method that scrolls the view to a certain view line, which can easily be displayed to the top, center, or bottom of the view via options in the supplied TextViewScrollState struct.
- Added the IEditorViewScroller.ScrollByPixels and ScrollHorizontallyByPixels methods, allowing for diagonal and horizontal scrolling by pixels respectively.
- When resizing a view that is scrolled to the right, the horizontal scroll amount can adjust to ensure that there isn't too much empty space on the text area's right side.
- The view now remembers maximum line widths better, which prevents horizontal scrollbar maximum changing as much when scrolling vertically through lines that have very different widths.
- Mouse wheel scrolling now supports page-based scrolling if the related operating system option is chosen.
- ScrollBar acceleration features added where the vertical scrollbar accelerates its scrolling speed the longer you hold the up or down button..
- Updated the NavigableSymbolSelector control to scroll the target offset to the middle of the view if scrolling is required when a symbol is selected.
Carets and Selection
- Multiple selections, each with their own caret, are now supported as long as the new SyntaxEditor.AreMultipleSelectionRangesEnabled property is true. 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.
- Properties on the IEditorView.Selection object continue to operate on the primary selection range. A new Ranges property has been added to the IEditorView.Selection object that allows for enumeration of all selection ranges.
- Multiple selections can be set with the new IEditorView.Selection.SelectRanges method, or a new selection can be added with the AddRange method.
- 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.
- The IEditorView.DeleteSelectedText and ReplaceSelectedText methods have been refactored to support applying to multiple selections when the EditorViewTextChangeOptions.CanApplyToMultipleSelections flag is set.
- 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.
- Rendering of virtual space selections is improved.
- 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.
- Added the ITextChange.PostSelectionPositionRanges property that indicates the exact selection ranges for the source view after the text change is applied.
- Added the EditorViewSelectionEventArgs.PreviousSelectionRanges property that contains a snapshot of all selection ranges prior to the selection change.
- Added collapse selection left and collapse selection right edit actions.
Searching
- 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. Related edit actions added.
- 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. Related edit actions added.
- 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. Related edit actions added.
- If the SyntaxEditor.IsSearchResultHighlightingEnabled property is true, the search results will be highlighted while the search overlay pane is open. Closing the search overlay pane, clears the search result highlights.
- The new SyntaxEditor.OverlayPaneOpened and OverlayPaneClosed events fire when the search overlay pane is opened or closed.
Splitting
- Updated the scrollbar splitter button with a larger appearance.
- Drag a view splitter to the bottom of the view to remove the split and keep the top view.
Margins
- Added the ITextViewLineNumberProvider language service with a DefaultTextViewLineNumberProvider implementation that allows for complete customization of how line numbers are rendered in the line number margin. Added the IEditorDocument.LineNumberOrigin property that sets the line number for the first line in the document, and defaults to one.
- Added the ruler margin, which is displayed via the SyntaxEditor.IsRulerMarginVisible property.
- Added outlining margin highlights when moving a pointer over nodes in the margin.
- Updated line modification marks with improved logic that better tracks unsaved, saves, and reverted changes.
Indicators
- Updated the IIndicatorTag interface to use the fast new rendering mechanism for drawing glyphs instead of making UI elements.
- Improved the rendering of built-in indicator glyphs.
Delimiters
- Added the SyntaxEditor.IsDelimiterAutoCompleteEnabled property to determine if syntax languages support delimiter auto-completion. Delimiter auto-completion can be implemented by registering an IDelimiterAutoCompleter language service. The built-in DelimiterAutoCompleter class implements common delimiter auto-completion functionality.
- Added the SyntaxEditor.IsDelimiterHighlightingEnabled property to determine if multi-threaded delimiter highlighting is enabled. IStructureMatcher and DelimiterHighlightTagger provider services are required on the syntax language to support this feature.
Input and Editing
- Added the PerformTyping, PerformInsertTyping, and PerformOverwriteTyping methods to the IEditorViewTextChangeActions interface that simulate typing.
- Added the IEditorViewTextChangeActions.FormatDocument and FormatSelection methods, which call the related edit commands.
- Improved the open line above and open line below edit actions to use the current language's indent provider for caret positioning.
- Added support for triple-clicks to select an entire view line. Dragging the pointer on the final click will extend the selection by view line.
IntelliPrompt
- IntelliPrompt UI reworked across all platforms.
- The Metro Light and Metro Dark common image sets have been added as options in place of the existing Classic common image set.
- Added a completion list feature that highlights the matched text in completion items as you type.
- Added a completion list option that filters out items that don't match the typed text, thereby shrinking the list of visible items.
- Added various completion list item matchers and match options that allow for special item matching logic to be injected. Numerous built-in item matchers are available such as starts-with, acronym, shorthand, etc.
- Added completion filter UI such as buttons and tabs.
- Updated all language add-on IntelliPrompt quick info and parameter info tips to use the current editor background and syntax highlighting colors.
Text Rendering
- Text rendering now properly handles cultural editing concepts like complex glyphs, bi-directional text, etc.
Miscellaneous
- The SyntaxEditor.IsDefaultContextMenuEnabled property determines if the default context menu is enabled. The default context menu is initialized and passed into the new SyntaxEditor.MenuRequested when a menu is requested for display. Handle the MenuRequested event to update the menu's items before it is opened.
- Added the SyntaxEditor.IsWordWrapEnabled property for easy binding in menu items.
- Language features are now implemented via services registered on syntax languages.
- The TypeMemberDropDownList control in the .NET Languages Add-on changed to a new NavigableSymbolSelector control that can work for many languages.
.NET Languages Add-on
- Updated the C# parser and resolver to support C# 7.3 syntax.
- Updated the VB parser and resolver to support VB 15.8 syntax.
- Added IntelliPrompt completion list toggle button filters 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.
Web Languages Add-on
- Added the JavaScript language.
- Added the JSON language.
Python Language Add-on
- Added the add-on, which wasn't available in prior WinForms versions.
All
- Updated all assemblies to require .NET 4.0 or later.
- Removed AllowPartiallyTrustedCallersAttribute from assemblies.
- Changed default font to be MS Segoe 9pt.
- Implemented a new Visual Studio sample project.
- Switched all product source projects to use the new SDK style of .csproj files.
- Created a new product installer experience.
- Fixed a bug where multiple versions of the WinForms Controls installed on a system could prevent the VS designer functionality from working properly.
See release history for older versions