Table of Contents

Class LineStyles

Namespace
Alternet.Editor.TextSource
Assembly
Alternet.Editor.v9.dll

Represents properties and methods for a collection that binds line styles to individual lines within Edit control content.

public class LineStyles : SortList<ILineStyle>, IList, ICollection, IReadOnlyList<ILineStyle>, IReadOnlyCollection<ILineStyle>, ISortList<ILineStyle>, ILineStyles, IList<ILineStyle>, ICollection<ILineStyle>, IEnumerable<ILineStyle>, IEnumerable
Inheritance
LineStyles
Implements
Extension Methods

Constructors

LineStyles()

Initializes a new instance of the LineStyles class with default parameters.

LineStyles(ITextSource)

Initializes a new instance of the LineStyles class with a specified owner.

Methods

Assign(ILineStyles)

Copies the contents from another ILineStyles object.

BlockDeleting(Rectangle)

Removes all bookmarks within specified rectangle.

FindByIndex(int)
FindByLine(int)
GetLineStyle(int)

Finds the first element in the line style collection located at the specified text line.

GetLineStyle(int, int)

Finds specific linestyle in the line style collection located at the specified text line.

GetLineStyles(int, IList<ILineStyle>)

Finds all linestyles in the LineStyles collection located inside specified line.

InternalClear(int)
InternalClearLine(int)
InternalGet(int)
InternalSet(ILineStyle)
InternalSet(int, int)
InternalSet(int, int, int)
NewLineStyle(int, int, int, int, IRange)
PositionChanged(int, int, int, int)

Updates all bookmarks starting from specified position.

PositionChanged(int, int, int, int, IComparer<ILineStyle>, IComparer<ILineStyle>)
RemoveLineAt(int, int, int)
RemoveLineStyle(int)

Removes the first line style at the specified line.

RemoveLineStyle(int, int)

When implemented by a class, removes the first line style at the specified line.

RemoveLineStyleAt(int, int, out int)
SetLineStyle(IRange, int, int)

Sets given line style to the specified line.

SetLineStyle(Point, IRange, int, int)

Sets given line style to the specified line.

SetLineStyle(Point, int, int)

Sets given line style to the specified line.

SetLineStyle(int, int)

Sets given line style to the specified line.

SetLineStyle(int, int, int)

Sets given line style to the specified line.

ShouldDelete(ILineStyle, Rectangle)
ToggleLineStyle(int, int)

Sets or removes line style at the specified line.

ToggleLineStyle(int, int, int)

Sets or removes line style at the specified line.

UpdatePosition(int, int, int, int, ILineStyle)