Class LineSeparator
Represents properties and methods used to separate lines and highlight current line within the Edit control.
public class LineSeparator : ILineSeparator, IUpdate
- Inheritance
-
LineSeparator
- Implements
Constructors
- LineSeparator()
Initializes a new instance of the
LineSeparatorclass with default settings.
- LineSeparator(ISyntaxEdit)
Initializes a new instance of the
LineSeparatorclass with a specified owner.
Properties
- ContentDividerColor
Gets or sets color of horizontal lines between particular sections (for example, methods) in the Edit control.
- HighlightBackColor
Gets or sets a background color of highlighted line.
- HighlightForeColor
Gets or sets a foreground color of highlighted line.
- LineColor
Gets or sets color of horizontal lines between particular lines in the Edit control.
- Options
Gets or sets a set of flags customizing appearance and behaviour of the
LineSeparator.
- UpdateCount
Keeps track of calls to
BeginUpdateandEndUpdateso that they can be nested.
Methods
- Assign(ILineSeparator)
Copies the contents from another
ILineSeparatorobject.
- BeginUpdate()
Prevents LineSeparator updating until calling
LineSeparator.EndUpdatemethod.
- DisableUpdate()
Prevents LineSeparator updating until calling
LineSeparator.EndUpdatemethod.
- EnableUpdate()
Re-enables LineSeparator updating, that was turn of by calling
LineSeparator.BeginUpdatemethod.
- EndUpdate()
Re-enables page updating, that was turn of by calling
LineSeparator.BeginUpdatemethod.
- NeedHide()
Indicates whether Edit control owning the
LineSeparatorneeds to hide highlighting of the current line when loosing input focus.
- NeedHighlight()
Indicates whether Edit control owning the
LineSeparatorneed to highlight the current line.
- NeedHighlightDisplayLine(int)
Gets boolean value indicating that given line should be highlighted.
Specifies line index in display coordinates.
- NeedHighlightLine(int)
Gets boolean value indicating that given line should be highlighted.
Specifies line index.
- ResetContentDividerColor()
Resets the
ContentDividerColorto the default value.
- ResetHighlightBackColor()
Resets the
HighlightBackColorto the default value.
- ResetHighlightForeColor()
Resets the
HighlightForeColorto the default value.
- ResetLineColor()
Resets the
LineColorto the default value.
- ResetOptions()
Resets the
Optionsto the default value.
- ShouldSerializeContentDividerColor()
Indicates whether the
ContentDividerColorproperty should be persisted.
- ShouldSerializeHighlightBackColor()
Indicates whether the
HighlightBackColorproperty should be persisted.
- ShouldSerializeHighlightForeColor()
Indicates whether the
HighlightForeColorproperty should be persisted.
- ShouldSerializeLineColor()
Indicates whether the
LineColorproperty should be persisted.
- TempHighlightLine(int)
Temporary highlights specifies line until Edit control state changed.
- TempUnhighlightLine()
Removes highlighting from temporary highlighted line.
- Update()
Invalidates editor if needed.