/Engine/Source/Runtime/Slate/Public/Widgets/Text/SlateEditableTextLayout.h
Find the closest word boundary
[FTextLocation](API\Runtime\Slate\Framework\Text\FTextLocation) ScanForWordBoundary ( const [FTextLocation](API\Runtime\Slate\Framework\Text\FTextLocation) & Location, int8 Direction ) const