New formatting tag:
/X/ - tag defined at runtime using OnGetCustomElem event.
These tags may be used when formatting parameter completion hints.
To get number of custom tags in item use TComplexRender.CustomTagCount function.
TecEmbeddedObjects now supports ability to insert controls in text. Controls may be placed only in one editor linked to this text source. Use TecEmbeddedObjects.ControlSite property to define editor where controls will be placed.
Use TecEmbeddedObjects.InsertControl to insert control at specified position in text.
Use TecEmbeddedObjects.HasControls property to detect whether text sources contains controls.
TCustomHighlighter handles regions with associated highlighting style. Use TCustomHighlighter.Styles property to link styles collection with highlighter.
TSyntMemoStrings class stores undo records and all related functionality.
TSyntMemoStrings now support code pages. Set CodePage property to selected code page of the text. It is used in all Unicode to ANSI conversions.
Ability to enable/disable items filtration, see TParamCompletion.FilterItems.
Ability to perform complex formatting of items using properties: FmtEnable, FmtImages, FmtSelEndImage, FmtSelParamStyleIndex, FmtSelStartImage, FmtStyles. In this case, each parameter should be surrounded by the /X/ formatting tag.
New component TSmartTagManager. It allows adding of multiple smart tag windows TSmartTagWnd, each of them may be associated with any text range. Properties of smart tag windows are defined in styles TSmartTagStyle which can be edited at design time.
TBaseFindDialog class extracted from TSyntFindDialog class. TBaseFindDialog does not associated with any particular control where search is performed and it contains common functionality to implement search/replace operations in controls defined in derived classes.
Events TSyntFindDialog.AfterExecute and TSyntFindDialog.OnBeforeExecute were removed. They were used to associate custom Find dialog with the search component. Now you may use TBaseFindDialog.OnShowDialog event.
New component TecFindInTreeDialog - search dialog to find tree node containing particular text or regular expression.
Editor supports multiple "right" margins - vertical lines. Each text margin may have position, hint, drawing style, it can be dragged. Properties RightMargin, RightMarginColor, ShowRightMargin operates with first item in text margins collection. Access text margins using property TCustomSyntaxMemo.TextMargins.
Undo/Redo processing is moved to TSyntMemoStrings, so BeginUndoGroup and EndUndoGroup now are members of TSyntMemoStrings.
New editor events:
New editor methods: