Table of Contents

Class EditSyntaxPaint

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

Represents properties and methods, used to draw text and graphic primitives.

public class EditSyntaxPaint : SyntaxPaint, IEditSyntaxPaint, ISyntaxPaint
Inheritance
EditSyntaxPaint
Implements

Constructors

EditSyntaxPaint(IPainter, ISyntaxEdit)

Initializes a new instance of the EditSyntaxPaint class with specified parameters.

Properties

ColumnsIndentForeColor

Specifies columns indentation color.

DisabledBackColor

Gets or sets background color used in the disabled state.

DisabledForeColor

Gets or sets foreground color used in the disabled state.

DrawColumnsIndent

Indicates whether edit control should draw columns indentation marks.

DrawStructureGuideLines

Indicates whether edit control should draw columns indentation marks.

GuideLinesDashedStyle

Specifies that structure guide lines to be drawn as dashed line.

GuideLinesForeColor

Specifies guide lines color.

IsTransparent
Lexer

Gets or sets an object that can make lexical analysis for the control's content.

NeedPaint

Gets or sets a boolean value that indicates whether Edit control should be repainted now.

Owner

Represents SyntaxEdit object that owns this EditSyntaxPaint.

ReadonlyBackColor

Gets or sets background color used in the readonly state.

ReadonlyForeColor

Gets or sets foreground color used in the readonly state.

SyntaxErrorsHints

Gets or sets a boolean value that indicates whether Edit control should display hint over each syntax error in it's content.

Methods

DrawLine(int, Point, Rectangle)

Draws line given by its index at the specified position.

DrawLine(int, Point, Rectangle, out int)

Draws line given by its index at the specified position.

EnsureLastLineParsed()
EqualStyles(StringItemInfo, StringItemInfo, int, int, string, bool)
GetBackColor(TextStyle)
GetBackColor(bool)

Retrieves background color in accordance with specified parameter and editor settings.

GetBackColor(Color, TextStyle)

Retrieves background color corresponding to given state.

GetFontColor(Color, TextStyle)

Retrieves font color corresponding to given state.

GetFontStyle(FontStyle, TextStyle)

Retrieves font style corresponding to given state.

GetForeColor(bool)

Retrieves foreground color in accordance with specified parameter and editor settings.

GetLineStyleAt(int, int, IList<ILineStyle>)
GetRectRegion(SelectionType, Rectangle, bool, bool)

Returns region corresponding to given rectangle.

GetRectRegion(Rectangle)

Returns region corresponding to given rectangle.

GetSelectionForeColor(Color)
GetString(int, ref string, ref StringItemInfo[])
GetWaveColor(TextStyle)

Get wave color for the concrete style.

InSelection(int, int, int, int)
NeedParse()
OnColumnsIndentForeColorChanged()
OnDisableColorPaintChanged()
OnDisableSyntaxPaintChanged()
OnDisabledBackColorChanged()
OnDisabledForeColorChanged()
OnDrawColumnsIndentChanged()
OnDrawStructureGuideLinesChanged()
OnGuideLinesDashedStyleChanged()
OnGuideLinesForeColorChanged()
OnReadonlyBackColorChanged()
OnReadonlyForeColorChanged()
OnSyntaxErrorsHintsChanged()
PaintLineBookMark(IBookMark, Rectangle)

Paint specified line bookmark.

PaintLineBookMarks(Rectangle)

Paints collection of line bookmark.

PaintSyntax(int, int, Point, Rectangle, Point, bool)

Paints a specified part of the control.

PaintWindow(int, Rectangle, Rectangle, Point, float, float, bool, bool)

When implemented by a class, paints editor's content.

ResetColumnsIndentForeColor()

Resets the ColumnsIndentForeColor to the default value.

ResetDisabledBackColor()

Resets the DisabledBackColor to the default value.

ResetDisabledForeColor()

Resets the DisabledForeColor to the default value.

ResetDrawColumnsIndent()

Resets the DrawColumnsIndent to the default value.

ResetDrawStructureGuideLines()

Resets the DrawColumnsIndent to the default value.

ResetGuideLinesForeColor()

Resets the GuideLinesForeColor to the default value.

ResetReadonlyBackColor()

Resets the ReadonlyBackColor to the default value.

ResetReadonlyForeColor()

Resets the ReadonlyForeColor to the default value.

ResetSyntaxErrorsHints()

When implemented by a class, resets the SyntaxErrorsHints to the default value.

ShouldSerializeColumnsIndentForeColor()

Indicates whether the ColumnsIndentForeColor property should be persisted.

ShouldSerializeDisabledBackColor()

Indicates whether the DisabledBackColor property should be persisted.

ShouldSerializeDisabledForeColor()

Indicates whether the DisabledForeColor property should be persisted.

ShouldSerializeDrawColumnsIndent()

Indicates whether the DrawColumnsIndent property should be persisted.

ShouldSerializeDrawStructureGuideLines()

Indicates whether the DrawStructureGuideLines property should be persisted.

ShouldSerializeGuideLinesDashedStyle()

Indicates whether the GuideLinesDashedStyle property should be persisted.

ShouldSerializeGuideLinesForeColor()

Indicates whether the GuideLinesForeColor property should be persisted.

ShouldSerializeReadonlyBackColor()

Indicates whether the ReadonlyBackColor property should be persisted.

ShouldSerializeReadonlyForeColor()

Indicates whether the ReadonlyForeColor property should be persisted.