Class EditSyntaxPaint
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
EditSyntaxPaintclass 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.
- InfoForeColor
Specifies info fore color.
- 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
SyntaxEditobject that owns thisEditSyntaxPaint.
- ReadonlyBackColor
Gets or sets background color used in the readonly state.
- ReadonlyForeColor
Gets or sets foreground color used in the readonly state.
- SyntaxErrorsForeColor
Specifies syntax errors fore color.
- SyntaxErrorsHints
Gets or sets a boolean value that indicates whether Edit control should display hint over each syntax error in it's content.
- SyntaxWarningForeColor
Specifies syntax warning fore color.
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.
- 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.
- GetRectRegion(SelectionType, Rectangle, bool, bool)
Returns region corresponding to given rectangle.
- GetRectRegion(Rectangle)
Returns region corresponding to given rectangle.
- GetWaveColor(TextStyle)
Get wave color for the concrete style.
- 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
ColumnsIndentForeColorto the default value.
- ResetDisabledBackColor()
Resets the
DisabledBackColorto the default value.
- ResetDisabledForeColor()
Resets the
DisabledForeColorto the default value.
- ResetDrawColumnsIndent()
Resets the
DrawColumnsIndentto the default value.
- ResetDrawStructureGuideLines()
Resets the
DrawColumnsIndentto the default value.
- ResetGuideLinesForeColor()
Resets the
GuideLinesForeColorto the default value.
- ResetReadonlyBackColor()
Resets the
ReadonlyBackColorto the default value.
- ResetReadonlyForeColor()
Resets the
ReadonlyForeColorto the default value.
- ResetSyntaxErrorsHints()
When implemented by a class, resets the
SyntaxErrorsHintsto the default value.
- ResetSyntaxWarningForeColor()
Resets the
SyntaxWarningForeColorto the default value.
- ShouldSerializeColumnsIndentForeColor()
Indicates whether the
ColumnsIndentForeColorproperty should be persisted.
- ShouldSerializeDisabledBackColor()
Indicates whether the
DisabledBackColorproperty should be persisted.
- ShouldSerializeDisabledForeColor()
Indicates whether the
DisabledForeColorproperty should be persisted.
- ShouldSerializeDrawColumnsIndent()
Indicates whether the
DrawColumnsIndentproperty should be persisted.
- ShouldSerializeDrawStructureGuideLines()
Indicates whether the
DrawStructureGuideLinesproperty should be persisted.
- ShouldSerializeGuideLinesDashedStyle()
Indicates whether the
GuideLinesDashedStyleproperty should be persisted.
- ShouldSerializeGuideLinesForeColor()
Indicates whether the
GuideLinesForeColorproperty should be persisted.
- ShouldSerializeInfoForeColor()
Indicates whether the
InfoForeColorproperty should be persisted.
- ShouldSerializeReadonlyBackColor()
Indicates whether the
ReadonlyBackColorproperty should be persisted.
- ShouldSerializeReadonlyForeColor()
Indicates whether the
ReadonlyForeColorproperty should be persisted.
- ShouldSerializeSyntaxErrorsForeColor()
Indicates whether the
SyntaxErrorsForeColorproperty should be persisted.
- ShouldSerializeSyntaxWarningForeColor()
Indicates whether the
SyntaxWarningForeColorproperty should be persisted.