s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Editor Classes
TextEdit
chevron_left Editor Classes
class
TextEdit

Constructors

functionsTextEdit

Fields

crop_dinTextChanged

Properties

data_objectBackgroundVisibledata_objectCenterOnScrolldata_objectCursordata_objectEditabledata_objectHorizontalScrollbardata_objectHorizontalScrollbarModedata_objectHtmldata_objectLinksClickabledata_objectMaximumBlockCountdata_objectPlaceholderTextdata_objectPlainTextdata_objectReadOnlydata_objectTabSizedata_objectTextSelectabledata_objectVerticalScrollbardata_objectVerticalScrollbarMode

Methods

functionsAppendHtmlfunctionsAppendPlainTextfunctionsCenterOnCursorfunctionsClearfunctionsGetAnchorAtfunctionsGetCursorAtBlockfunctionsGetCursorAtPositionfunctionsGetCursorRectfunctionsGetTextCursorlockOnBlurlockOnFocuslockOnTextChangedfunctionsScrollToBottomfunctionsSelectAllfunctionsSetTextCursor
TextEdit
A multi-line text entry. See Editor.LineEdit for a single line version.
class Editor .account_tree extends Widget
Sandbox.Tools

build Constructors 1

TextEdit (parent)

crop_din Fields 1

TextChanged
Action`1

data_object Properties 16

BackgroundVisible
bool
CenterOnScroll
bool
Cursor
CursorShape
Editable
bool
HorizontalScrollbar
ScrollBar
HorizontalScrollbarMode
ScrollbarMode
Html
string
LinksClickable
bool
MaximumBlockCount
int
PlaceholderText
string
PlainText
string
ReadOnly
bool
TabSize
float
TextSelectable
bool
VerticalScrollbar
ScrollBar
VerticalScrollbarMode
ScrollbarMode

functions Methods 15

AppendHtml (html)
AppendPlainText (text)
CenterOnCursor ()
Clear ()
GetAnchorAt (point)
string
GetCursorAtBlock (block)
TextCursor
GetCursorAtPosition (position)
TextCursor
GetCursorRect (cursor)
Rect
GetTextCursor ()
TextCursor
OnBlur (reason)
OnFocus (reason)
OnTextChanged (value)
Called when text changed.
ScrollToBottom ()
SelectAll ()
SetTextCursor (cursor)

Inheritance

QObject
Widget
TextEdit
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter