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
LineSeparator
class with default settings.
- LineSeparator(ISyntaxEdit)
Initializes a new instance of the
LineSeparator
class 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
BeginUpdate
andEndUpdate
so that they can be nested.
Methods
- Assign(ILineSeparator)
Copies the contents from another
ILineSeparator
object.
- BeginUpdate()
Prevents LineSeparator updating until calling
LineSeparator.EndUpdate
method.
- DisableUpdate()
Prevents LineSeparator updating until calling
LineSeparator.EndUpdate
method.
- EnableUpdate()
Re-enables LineSeparator updating, that was turn of by calling
LineSeparator.BeginUpdate
method.
- EndUpdate()
Re-enables page updating, that was turn of by calling
LineSeparator.BeginUpdate
method.
- NeedHide()
Indicates whether Edit control owning the
LineSeparator
needs to hide highlighting of the current line when loosing input focus.
- NeedHighlight()
Indicates whether Edit control owning the
LineSeparator
need 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
ContentDividerColor
to the default value.
- ResetHighlightBackColor()
Resets the
HighlightBackColor
to the default value.
- ResetHighlightForeColor()
Resets the
HighlightForeColor
to the default value.
- ResetLineColor()
Resets the
LineColor
to the default value.
- ResetOptions()
Resets the
Options
to the default value.
- ShouldSerializeContentDividerColor()
Indicates whether the
ContentDividerColor
property should be persisted.
- ShouldSerializeHighlightBackColor()
Indicates whether the
HighlightBackColor
property should be persisted.
- ShouldSerializeHighlightForeColor()
Indicates whether the
HighlightForeColor
property should be persisted.
- ShouldSerializeLineColor()
Indicates whether the
LineColor
property 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.