ecActns.pas
TecSyntMemoAction.MustBeSelected property
ecComplRend.pas
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.
ecEmbObj.pas
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.
ecExtHighlight.pas
TCustomHighlighter handles regions with associated highlighting style. Use TCustomHighlighter.Styles property to link styles collection with highlighter.
ecMemoStrings.pas
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.
ecPopupCtrl.pas
TSyntMemoPopupList.BgColor Property
TecSelCharPopup.BgColor Property
Parameter completion:
Complex extraction functions names using FuncNameRule, FuncPathRule, OnGetParamsEx.
Ability to add multi-line items using AddItem, ItemCount.
Ability to display up-down control to scroll items, see UpDownSwitch, UpDownOrientation, UpDownWidth.
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.
ecSmartTags.pas (new)
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.
ecSyntAnal.pas
Auto-close text ranges functionality, see TTagBlockCondition.AutoCloseMode, TTagBlockCondition.AutoCloseText properties.
TSyntAnalyzer.OnCloseTextRange
TClientSyntAnalyzer.RangeFormat
TClientSyntAnalyzer.GetAutoCloseText
TClientSyntAnalyzer.NearestRangeIdxAtPos
ecSyntDlg.pas
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.
ecSyntMemo.pas
New editor edge element - horizontal ruler TecHorzRuler. It may be accessed via property TCustomSyntaxMemo.HorzRuler.
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.
There is ability to place gutter icon on sub-line in word-wrap mode using TCustomGutterObject.SubLine. In word-wrap mode it is possible to show line-break icons using TGutter.LineBreakObj property.
Undo/Redo processing is moved to TSyntMemoStrings, so BeginUndoGroup and EndUndoGroup now are members of TSyntMemoStrings.
New options: soNormalSelToLineEnd, soRightClickMoveCaret.
New editor events:
New editor methods:
|
Copyright (c) 2004-2011. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|