SyntaxEditor (for WinForms) 4.0.0240 Maintenance Release

Announcements Forum

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
A new SyntaxEditor (for WinForms) maintenance release is now available. Updates include:

SyntaxEditor Control
  • Added an early beta version (no IntelliPrompt support yet) of the advanced VB language to the .NET Languages Add-on and added menu items to load it in the SDI Editor sample.
  • Added the GotoNextField and GotoPreviousField method to the IntelliPromptCodeSnippets class.
  • Enhanced the parser generator error checking functionality and also made it give detailed information when you have an alternation that has the same token condition in two or more alternation options.
  • Enhanced the Grammar Designer so that it should jump the caret directly to an error location, if the location is known.
  • Enhanced the Grammar Designer so that for grammars built using VB, the beta VB language from the .NET Languages Add-on is used, allowing for the type/member drop-down list as well as future IntelliPrompt quick info once complete.
  • Added the NonMergableTokenBase class, which provides a good base class for tokens that will be used with low-level non-mergable languages.
  • Added the InternalStandardModule and PublicStandardModule values to the IconResource enumeration.
  • Changed the CodeSnippetFieldActivated event so that it fires after the caret moves when tabbing between code snippet fields.
  • Fixed a bug where the parser generator could incorrectly think a token was part of a non-terminal's first set.
  • Fixed a bug where dragging a vertical splitter back to remove a view could sometimes throw an exception when the mouse button was released.
  • Fixed a bug with the scrollbars where when they were in auto-hide mode, in certain scenarios they could stop painting temporarily while resizing the Form or typing content.
  • Fixed a bug where outlining nodes sometimes weren't properly ended after editing around a language transition end.
.NET Languages Add-on
  • Made several tweaks to the C# language semantic grammar.
  • Enhanced several AST node ToString methods for easier debugging.
  • Added the StandardModuleDeclaration class and DotNetNodeType.StandardModuleDeclaration value for future VB.NET support.
  • Added the WithStatement for future VB.NET support. Added the DotNetNodeType.WithStatement value.
  • BREAK: For simplification, merged the IndexerDeclaration class into PropertyDeclaration and added a Parameters property to PropertyDeclaration. The PropertyDeclaration is an indexer if it has parameters. Removed the DotNetNodeType.IndexerDeclaration value.
  • Added the IsIndexer and Parameters properties to the PropertyDeclaration class.
  • BREAK: For simplification, merged the InterfaceIndexerDeclaration class into InterfacePropertyDeclaration and added a Parameters property to InterfacePropertyDeclaration. The InterfacePropertyDeclaration is an indexer if it has parameters. Removed the DotNetNodeType.InterfaceIndexerDeclaration value.
  • Added the IsIndexer and Parameters properties to the InterfacePropertyDeclaration class.
  • BREAK: Moved the return type of variable declarations from the declaration section to the actual variable for future VB.NET support.
  • BREAK: Removed the IVariableDeclarationSection.ReturnType property. ReturnType is now directly on variable declarations.
  • BREAK: Removed the ReturnType property from the FixedSizeBufferDeclaration class. Use the ReturnType property on the FixedSizeBufferDeclarator class instead.
  • BREAK: Removed the ReturnType property from the ConstantDeclaration, FieldDeclaration, LocalConstantDeclaration, and LocalVariableDeclaration classes. Use the ReturnType property on the VariableDeclarator class instead.
  • BREAK: Removed the TypeReference property from the FixedStatement class. Use the ReturnType property on the VariableDeclarator class instead.
  • BREAK: Renamed the IVariableDeclarationSection interface to IVariableDeclarationSection.
  • Made the LocalVariableDeclaration class implement IVariableDeclarationSection.
  • BREAK: For simplification, merged the ConstantDeclaration class into FieldDeclaration. The FieldDeclaration is a constant if it has a Modifiers of Const. Removed the DotNetNodeType.ConstantDeclaration value.
  • Added the IsConstant property to the FieldDeclaration class.
  • BREAK: For simplification, merged the LocalConstantDeclaration class into LocalVariableDeclaration and added a Modifiers property to LocalVariableDeclaration. The LocalVariableDeclaration is a constant if it has a Modifiers of Const. Removed the DotNetNodeType.LocalConstantDeclaration value.
  • Added the IsConstant property to the LocalVariableDeclaration class.
  • Added the BranchStatement class and the BranchStatementType enumeration.
  • BREAK: Removed the StopStatement class, the DotNetNodeType.StopStatement value, and changed Stop statements to use BranchStatement instead.
  • Changed the ContinueStatement, ExitStatement, GoToStatement, and ReturnStatement classes so that they inherit BranchStatement instead of Statement.
  • Added the RaiseEventStatement class and DotNetNodeType.RaiseEventStatement value for future VB.NET support.
  • Added the ModifyEventHandlerStatement class, ModifyEventHandlerStatementType enumeration, and DotNetNodeType.ModifyEventHandlerStatement value for future VB.NET support.
  • BREAK: Changed the ForEachStatement.VariableDeclaration property to return an IAstNode instead of LocalVariableDeclaration. This was required to support an Expression for future VB.NET support.
  • Added the UnstructuredErrorErrorStatement class and DotNetNodeType.UnstructuredErrorErrorStatement value for future VB.NET support.
  • Added the UnstructuredErrorOnErrorStatement class, UnstructuredErrorOnErrorStatementType enumeration, and DotNetNodeType.UnstructuredErrorOnErrorStatement value for future VB.NET support.
  • Added the UnstructuredErrorResumeNextStatement class and DotNetNodeType.UnstructuredErrorResumeNextStatement value for future VB.NET support.
  • BREAK: Changed the LabeledStatement.Label property to return Expression instead of QualifiedIdentifier for future VB.NET support.
  • BREAK: Changed UsingStatement so that the ResourceAcquisition property is now a ResourceAcquisitions collection property.
  • Added the ArrayRedimStatement class and DotNetNodeType.ArrayRedimStatement value for future VB.NET support.
  • Added the ArrayRedimClause class and DotNetNodeType.ArrayRedimClause value for future VB.NET support.
  • BREAK: Merged the IndexerExpression class into InvocationExpression since VB.NET syntax is the same for both. Removed the DotNetNodeType.IndexerExpression value.
  • Added the DictionaryAccessExpression class and DotNetNodeType.DictionaryAccessExpression value for future VB.NET support.
  • Added the ArgumentExpression.Name property for future VB.NET support.
  • Added the AccessorDeclaration.Parameters property for future VB.NET support.
  • Added the EventDeclaration.Parameters property for future VB.NET support.
  • Added the InterfaceEventDeclaration.Parameters property for future VB.NET support.
  • BREAK: Moved the Target property from the AttributeSection class to the Attribute class for future VB.NET support.
  • Fixed a bug where constructors were showing up in member lists.
  • Fixed a bug where constructors were not appearing properly for parameter info.
  • Fixed a bug where protected members would sometimes appear in member lists in cases where they should not be listed.
Miscellaneous
  • Updated the Shared/WinUICore libraries.


Actipro Software Support