Summary

A single line text entry. See <see cref="T:Editor.TextEdit" /> for multi line version.

Properties

Alignment
AutoComplete
AutoCompleteVisible Whether the <see cref="P:Editor.LineEdit.AutoComplete">auto complete</see>Editor.Menu is visible or not.
ClearButtonEnabled Show a button to clear the text input when it is not empty.
CursorPosition Position of the text cursor, at which newly typed letters will be inserted.
CursorRect
DisplayText
ForwardNavigationEvents Forward up, down and enter keys to this control. This is useful if you have a search box that you want to also allow to navigate a list of items.
HasSelectedText Whether the user has any text selected within this text entry.
HistoryCookie
HistoryVisible True if history menu is visible
MaxHistoryItems if set &gt; 1 we will support history items (which you need to add using AddHistory)
MaxLength User entered text can never be longer than this many characters (not bytes).
PlaceholderText The placeholder text, it will be displayed only when the text entry is empty. Typically used to as a short description of the expected input, or as an example input.
ReadOnly
RegexValidator
SelectedText The selected text, if any.
SelectionEnd Character at which the text selection ends, or -1 if there is no selection.
SelectionStart Character at which the text selection begins, or -1 if there is no selection.
Text The text of this text entry.
Value Alias of Editor.LineEdit.Text, except disallows setting text when Editor.Widget.IsFocused is <see langword="true" />.

Methods

AddHistory
AddOptionToEnd
AddOptionToFront
Clear Clear the text.
Copy
Cut
Deselect De-select all of the text.
Insert
Paste
Redo
RestoreHistoryFromCookie
SaveHistoryCookie
SelectAll Select all of the text.
SetAutoComplete
SetValidator
Undo
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.