Class StringItem
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
Represents string-like object with extended properties.
public class StringItem : IStringItem
- Inheritance
-
StringItem
- Implements
Constructors
- StringItem(string)
Initializes a new instance of the
StringItem
class with specified string.
Properties
- LexState
Gets or sets index of lexical state at item end.
- PrevLexState
Gets or sets index of lexical state at item start.
- State
Gets or sets the current state of the
IStringItem
.
- String
Gets or sets string content of the
IStringItem
.
- TextData
Gets or sets information of the
IStringItem
.
Methods
- ClearTextStyle(ref StringItemInfo[], int, int, TextStyle)
Removes style information from specified part of string.
- ClearTextStyle(int, int, TextStyle)
Removes style information from specified part of string.
- SetTextStyle(ref StringItemInfo[], int, int, TextStyle)
Sets text style to text fragment.
- SetTextStyle(int, int, TextStyle)
Sets style information to specified part of string.
- Split(string)
Converts specified text to string array.
- TextStyleAt(int)
Retrieves style information from
IStringItem
.