Table of Contents

Interface IDisplayStrings

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Represents properties and methods for a collection of visible strings in the Edit control.

public interface IDisplayStrings : IStringList, IList<string>, ICollection<string>, IEnumerable<string>, IEnumerable, ITabulation, IWordWrap, ITextSearch, IUpdate, IWordBreak, ICollapsable, ITextExport, IExport, ITextImport, IImport
Extension Methods

Properties

AllowHiddenLines

Gets or sets a value indicating whether hidden lines are enabled.

DisplayCount

When implemented by a class, returns number of visible lines.

this[int]

When implemented by a class, provides an indexed access to individual strings stored in the collection.

LineEnd

When implemented by a class, gets or sets boolean value indicating if the text position can be set to the end of the wrapped line.

Lines

When implemented by a class, gets or sets the collection of underlying "real" collection of text lines.

Loaded

When implemented by a class, gets or sets boolean value indicating if the display strings was fully formatted.

MaxLineWidth

When implemented by a class, gets width of the largest line in the control's text.

SuppressTabs

When implemented by a class, gets or sets boolean value indicating if conversion from tabs to spaces is suppressed.

Methods

BlockDeleting(Rectangle)

When implemented by a class, responds on deleting some block of lines within the editor control.

DisplayPointToPoint(Point)

When implemented by a class, converts the specified display coordinates to the text coordinates.

DisplayPointToPoint(int, int)

When implemented by a class, converts the specified display coordinates to text coordinates.

DisplayPointToPoint(int, int, bool, bool, bool)

When implemented by a class, converts the specified display coordinates to the text coordinates.

DisplayPointToPoint(int, int, ref bool)

When implemented by a class, converts the specified display coordinates to the text coordinates.

GetColorData(int)

When implemented by a class, returns color information related to the specified line.

GetLexStyle(Point)

When implemented by a class, returns lexical style related to the specified position.

GetStringAndColorData(int, ref string, ref StringItemInfo[])

When implemented by a class, returns text and color information related to the specified line.

GetVisibleLines(out int, out int)

When implemented by a class, gets max range containing visible lines

IsPointCollapsed(Point, out IRange)

When implemented by a class, indicates whether given position is in invisible area of the editor control.

IsPointVisible(Point)

When implemented by a class, indicates whether given position is in visible area of the editor control.

Notify(NotifyState, int, int)

When implemented by a class, notifies editor about updating IDisplayStrings state.

PointToDisplayPoint(Point)

When implemented by a class, converts the specified text coordinates to display coordinates.

PointToDisplayPoint(int, int)

When implemented by a class, converts the specified text coordinates to display coordinates.

PointToDisplayPoint(int, int, bool)

When implemented by a class, converts the specified text coordinates to display coordinates.

PositionChanged(UpdateReason, int, int, int, int)

When implemented by a class, responds on changing position in the editor.

UpdateHiddenLines()

When implemented by a class, updates outline ranges for the hidden lines

UpdateNeeded()

When implemented by a class, forces IDisplayStrings to recalculate its content.