![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TextRange.h>
Public Member Functions | |
| ULANG_FORCEINLINE void | Invalidate () |
| ULANG_FORCEINLINE void | Reset () |
| ULANG_FORCEINLINE bool | IsValid () const |
| ULANG_FORCEINLINE bool | IsInvalid () const |
| ULANG_FORCEINLINE bool | operator== (const STextPosition &Other) const |
| ULANG_FORCEINLINE bool | operator!= (const STextPosition &Other) const |
| ULANG_FORCEINLINE bool | operator<= (const STextPosition &Other) const |
| ULANG_FORCEINLINE bool | operator< (const STextPosition &Other) const |
| ULANG_FORCEINLINE bool | operator>= (const STextPosition &Other) const |
| ULANG_FORCEINLINE bool | operator> (const STextPosition &Other) const |
Public Attributes | |
| uint32_t | _Row = uint32_invalid |
| uint32_t | _Column = uint32_invalid |
Position in a text document/string expressed as zero-based row/line and zero-based column/character offset. A position is between two characters like an ‘insert’ cursor in an editor. The column is a byte offset into the UTF-8 encoded line.
Similar to a LSP Position - https://microsoft.github.io/language-server-protocol/specifications/specification-3-14/#position Also similar to UE FIntPoint
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| uint32_t uLang::STextPosition::_Column = uint32_invalid |
| uint32_t uLang::STextPosition::_Row = uint32_invalid |