Stay organized with collections
Save and categorize content based on your preferences.
GameTextInputSpan
#include <gametextinput.h>
This struct holds a span within a region of text from start (inclusive) to end (exclusive).
Summary
An empty span or cursor position is specified with start==end. An undefined span is specified with start = end = SPAN_UNDEFINED.
Public attributes
|
end
|
int32_t
The end of the region (exclusive).
|
start
|
int32_t
The start of the region (inclusive).
|
Public attributes
end
int32_t GameTextInputSpan::end
The end of the region (exclusive).
start
int32_t GameTextInputSpan::start
The start of the region (inclusive).
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-07-12 UTC.
[null,null,["Last updated 2021-07-12 UTC."],[],[],null,["# GameTextInputSpan Struct Reference\n\nGameTextInputSpan\n=================\n\n`#include \u003cgametextinput.h\u003e`\n\nThis struct holds a span within a region of text from start (inclusive) to end (exclusive).\n\nSummary\n-------\n\nAn empty span or cursor position is specified with start==end. An undefined span is specified with start = end = SPAN_UNDEFINED.\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------|------------------------------------------------|\n| [end](#struct_game_text_input_span_1acbafcac4ed8ceab0a709cae5c86351c6) | `int32_t` The end of the region (exclusive). |\n| [start](#struct_game_text_input_span_1a65c61e55920bc1e198e8fc925f3babe9) | `int32_t` The start of the region (inclusive). |\n\nPublic attributes\n-----------------\n\n### end\n\n```scdoc\nint32_t GameTextInputSpan::end\n``` \nThe end of the region (exclusive). \n\n### start\n\n```scdoc\nint32_t GameTextInputSpan::start\n``` \nThe start of the region (inclusive)."]]