class
TextEdit
public class TextEdit : Widget A multi-line text entry. See LineEdit for a single line version.
Constructors
TextEdit(Widget parent) Properties
| Name | Type | Description |
|---|---|---|
TextSelectable | Boolean | |
LinksClickable | Boolean | |
Editable | Boolean | |
VerticalScrollbar | ScrollBar | |
HorizontalScrollbar | ScrollBar | |
HorizontalScrollbarMode | ScrollbarMode | |
VerticalScrollbarMode | ScrollbarMode | |
PlainText | String | |
Html | String | |
PlaceholderText | String | |
CenterOnScroll | Boolean | |
BackgroundVisible | Boolean | |
MaximumBlockCount | Int32 | |
TabSize | Single | |
ReadOnly virtual | Boolean | |
Cursor virtual | CursorShape |
Methods
Void ScrollToBottom() Void AppendHtml(String html) Void AppendPlainText(String text) virtual Void Clear() Void SelectAll() Void CenterOnCursor() Void SetTextCursor(TextCursor cursor) TextCursor GetCursorAtPosition(Vector2 position) TextCursor GetTextCursor() Rect GetCursorRect(TextCursor cursor) String GetAnchorAt(Vector2 point) TextCursor GetCursorAtBlock(Int32 block) Fields
| Name | Type | Description |
|---|---|---|
TextChanged | Action<String> |