Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
A new maintenance release for SyntaxEditor has been made available. New features and bug fixes include:
- <li>Added the LineNumberMarginDisabledBackgroundFill, SelectionMarginDisabledBackgroundFill, and TextAreaDisabledBackgroundFill properties to the SyntaxEditor class. They are used to render the associated areas of the control when the control is disabled.
<li>Added the SyntaxEditor.UseDisabledRenderingForReadOnlyMode property to control whether the control renders using the disabled background fills when the document is in read-only mode.
<li>Added a default context menu that can be displayed if no SyntaxEditor.ContextMenu property is set.
<li>Added the SyntaxEditor.DefaultContextMenuEnabled property that controls whether SyntaxEditor displays the default context menu if no ContextMenu property is set.
<li>Added the SyntaxEditor.GetDefaultContextMenu method.
<li>Unsealed the SyntaxEditor.OnDragXXX methods.
<li>Made interface changes to the SemanticParser class that should have been made in the original 2.5 release to fit with the 2.5 user interface/document object model changes.
<li>Removed the rootLanguage parameter from the PerformAutomaticOutlining, PreParse, and PostParse methods since Document.Language can now be used to retrieve the root language.
<li>Changed the parameters of the TriggerActivated method so that a SyntaxEditor instance is passed instead of a Document and root language. Both the Document and root language can be retrieved via the SyntaxEditor instance.
<li>Changed the code of the test application's FindReplaceForm under the Replace button click event handler to more accurately give a result message.
<li>Fixed a bug that didn't update the scrollbars when setting a new Document to the SyntaxEditor class.
<li>Fixed a bug where the member list threw an exception under certain circumstances when performing an auto-complete.
<li>Fixed a bug where grouped undo actions from a Replace All operation were limited to 100.
<li>Fixed a bug where the setting of the parent Form's ShowInTaskbar property would make the SyntaxEditor control stop painting until resized.
<li>Fixed a bug where the pressing of Escape when a member list was displayed and an item was fully selected would perform an auto-complete instead of a cancel.
<li>Fixed a bug where a second member list could not be initiated from the IntelliPromptMemberListClosed event.
Actipro Software Support