Class WhiteSpace
Represents properties of "invisible" characters, such as spaces and tabs, in the control's text content.
public class WhiteSpace : IWhiteSpace, IUpdate
- Inheritance
-
WhiteSpace
- Implements
Constructors
- WhiteSpace()
Initializes a new instance of the
WhiteSpace
class with default settings.
- WhiteSpace(ISyntaxEdit)
Initializes a new instance of the
WhiteSpace
class with a specified owner.
Properties
- EofString
Represents one character string that specifies end of file.
- EofSymbol
Gets or sets character that specifies end of file.
- EolString
Represents one character string that specifies end of line.
- EolSymbol
Gets or sets character that specifies end of line.
- LongSpaceString
Represents one character string that introduces special symbol to paint instead of the long space character.
- LongSpaceSymbol
Gets or sets character that introduces special symbol to paint instead of the long space character.
- SpaceString
Represents one character string that introduces special symbol to paint instead of the space character.
- SpaceSymbol
Gets or sets character that introduces special symbol to paint instead of the space character.
- SymbolColor
Gets or sets color used to paint special symbols.
- TabString
Represents one character string that introduces special symbol to paint instead of the tab character.
- TabSymbol
Gets or sets character that introduces special symbol to paint instead of the tab character.
- UpdateCount
Keeps track of calls to
BeginUpdate
andEndUpdate
so that they can be nested.
- Visible
Gets or sets a value indicating whether white space symbols are visible in the control's text content.
- WordWrapString
Represents one character string that specifies wrapped file.
- WordWrapSymbol
Gets or sets character that specifies wrapped line.
Methods
- Assign(IWhiteSpace)
Copies the contents from another
IWhiteSpace
object.
- BeginUpdate()
Prevents WhiteSpace updating until calling
WhiteSpace.EndUpdate
method.
- DisableUpdate()
Prevents WhiteSpace updating until calling
WhiteSpace.EndUpdate
method.
- EnableUpdate()
Re-enables WhiteSpace updating, that was turn of by calling
Margin.BeginUpdate
method.
- EndUpdate()
Re-enables page updating, that was turn of by calling
WhiteSpace.BeginUpdate
method.
- ResetEofSymbol()
Resets the
EofSymbol
to the default value.
- ResetEolSymbol()
Resets the
EolSymbol
to the default value.
- ResetLongSpaceSymbol()
Resets the
LongSpaceSymbol
to the default value.
- ResetSpaceSymbol()
Resets the
SpaceSymbol
to the default value.
- ResetSymbolColor()
Resets the
SymbolColor
to the default value.
- ResetTabSymbol()
Resets the
TabSymbol
to the default value.
- ResetVisible()
Resets the
Visible
to the default value.
- ResetWordWrapSymbol()
Resets the
WordWrapSymbol
to the default value.
- ShouldSerializeEofSymbol()
Indicates whether the
EofSymbol
property should be persisted.
- ShouldSerializeEolSymbol()
Indicates whether the
EolSymbol
property should be persisted.
- ShouldSerializeLongSpaceSymbol()
Indicates whether the
LongSpaceSymbol
property should be persisted.
- ShouldSerializeSpaceSymbol()
Indicates whether the
SpaceSymbol
property should be persisted.
- ShouldSerializeSymbolColor()
Indicates whether the
SymbolColor
property should be persisted.
- ShouldSerializeTabSymbol()
Indicates whether the
TabSymbol
property should be persisted.
- ShouldSerializeWordWrapSymbol()
Indicates whether the
WordWrapSymbol
property should be persisted.
- Update()
Invalidates editor if needed.