Element representing a multi-line text area.
Containers:
backgroundContainer
- The background (e.g. for syntax highlighting or line highlighting).bottomMarginContainer
- The bottom margin (e.g. for a status bar).leftMarginContainer
- The left margin (e.g. for line numbers).rightMarginContainer
- The right margin.topMarginContainer
- The top margin.
Properties:
Name | Type | Description |
---|---|---|
bold |
bool | (default: |
caretColor |
html.Color | The caret color. |
column |
number | [readonly] The column of the current cursor position. |
fontFamily |
string | The font family. |
fontSize |
number | The font size in CSS pixels. |
row |
number | The row of the current cursor position. |
selectionEnd |
number | [readonly] The ending position of the text selection. This value is the same as |
selectionStart |
number | [readonly] The starting position of the text selection. |
spellCheck |
bool | (default: |
text |
string | (default: |
textColor |
html.Color | The text color. |