|
| SLATE_API | FSlateEditableTextLayout (ISlateEditableTextWidget &InOwnerWidget, const TAttribute< FText > &InInitialText, FTextBlockStyle InTextStyle, const TOptional< ETextShapingMethod > InTextShapingMethod, const TOptional< ETextFlowDirection > InTextFlowDirection, const FCreateSlateTextLayout &InCreateSlateTextLayout, TSharedRef< ITextLayoutMarshaller > InTextMarshaller, TSharedRef< ITextLayoutMarshaller > InHintTextMarshaller) |
| |
| SLATE_API | ~FSlateEditableTextLayout () |
| |
| SLATE_API void | SetText (const TAttribute< FText > &InText) |
| |
| SLATE_API FText | GetText () const |
| |
| SLATE_API void | SetHintText (const TAttribute< FText > &InHintText) |
| |
| SLATE_API FText | GetHintText () const |
| |
| SLATE_API void | SetSearchText (const TAttribute< FText > &InSearchText) |
| |
| SLATE_API FText | GetSearchText () const |
| |
| SLATE_API int32 | GetSearchResultIndex () const |
| |
| SLATE_API int32 | GetNumSearchResults () const |
| |
| SLATE_API void | SetTextStyle (const FTextBlockStyle &InTextStyle) |
| |
| SLATE_API const FTextBlockStyle & | GetTextStyle () const |
| |
| SLATE_API int32 | GetTextLineCount () |
| |
| SLATE_API void | SetCursorBrush (const TAttribute< const FSlateBrush * > &InCursorBrush) |
| |
| SLATE_API void | SetCompositionBrush (const TAttribute< const FSlateBrush * > &InCompositionBrush) |
| |
| SLATE_API FText | GetPlainText () const |
| |
| SLATE_API bool | SetEditableText (const FText &TextToSet, const bool bForce=false) |
| |
| SLATE_API FText | GetEditableText () const |
| |
| SLATE_API FText | GetSelectedText () const |
| |
| SLATE_API FTextSelection | GetSelection () const |
| |
| SLATE_API void | SetTextShapingMethod (const TOptional< ETextShapingMethod > &InTextShapingMethod) |
| |
| SLATE_API void | SetTextFlowDirection (const TOptional< ETextFlowDirection > &InTextFlowDirection) |
| |
| SLATE_API void | SetTextWrapping (const TAttribute< float > &InWrapTextAt, const TAttribute< bool > &InAutoWrapText, const TAttribute< ETextWrappingPolicy > &InWrappingPolicy) |
| |
| SLATE_API void | SetWrapTextAt (const TAttribute< float > &InWrapTextAt) |
| |
| SLATE_API void | SetAutoWrapText (const TAttribute< bool > &InAutoWrapText) |
| |
| SLATE_API void | SetWrappingPolicy (const TAttribute< ETextWrappingPolicy > &InWrappingPolicy) |
| |
| SLATE_API void | SetMargin (const TAttribute< FMargin > &InMargin) |
| |
| SLATE_API void | SetJustification (const TAttribute< ETextJustify::Type > &InJustification) |
| |
| SLATE_API void | SetLineHeightPercentage (const TAttribute< float > &InLineHeightPercentage) |
| |
| SLATE_API void | SetApplyLineHeightToBottomLine (const TAttribute< bool > &InApplyLineHeightToBottomLine) |
| |
| SLATE_API void | SetOverflowPolicy (TOptional< ETextOverflowPolicy > InOverflowPolicy) |
| |
| SLATE_API void | SetDebugSourceInfo (const TAttribute< FString > &InDebugSourceInfo) |
| |
| SLATE_API TSharedRef< IVirtualKeyboardEntry > | GetVirtualKeyboardEntry () const |
| |
| SLATE_API TSharedRef< ITextInputMethodContext > | GetTextInputMethodContext () const |
| |
| SLATE_API void | EnableTextInputMethodContext () |
| |
| SLATE_API bool | Refresh () |
| |
| SLATE_API void | ForceRefreshTextLayout (const FText &CurrentText) |
| |
| SLATE_API void | BeginSearch (const FText &InSearchText, const ESearchCase::Type InSearchCase=ESearchCase::IgnoreCase, const bool InReverse=false) |
| |
| SLATE_API void | AdvanceSearch (const bool InReverse=false) |
| |
| SLATE_API UE::Slate::FDeprecateVector2DResult | SetHorizontalScrollFraction (const float InScrollOffsetFraction) |
| |
| SLATE_API UE::Slate::FDeprecateVector2DResult | SetVerticalScrollFraction (const float InScrollOffsetFraction) |
| |
| SLATE_API UE::Slate::FDeprecateVector2DResult | SetScrollOffset (const UE::Slate::FDeprecateVector2DParameter &InScrollOffset, const FGeometry &InGeometry) |
| |
| SLATE_API UE::Slate::FDeprecateVector2DResult | GetScrollOffset () const |
| |
| SLATE_API float | GetComputedWrappingWidth () const |
| |
| SLATE_API bool | GetAutoWrapText () const |
| |
| SLATE_API bool | HandleFocusReceived (const FFocusEvent &InFocusEvent) |
| |
| SLATE_API bool | HandleFocusLost (const FFocusEvent &InFocusEvent) |
| |
| SLATE_API FReply | HandleKeyChar (const FCharacterEvent &InCharacterEvent) |
| |
| SLATE_API FReply | HandleKeyDown (const FKeyEvent &InKeyEvent) |
| |
| SLATE_API FReply | HandleKeyUp (const FKeyEvent &InKeyEvent) |
| |
| SLATE_API FReply | HandleMouseButtonDown (const FGeometry &MyGeometry, const FPointerEvent &InMouseEvent) |
| |
| SLATE_API FReply | HandleMouseButtonUp (const FGeometry &MyGeometry, const FPointerEvent &InMouseEvent) |
| |
| SLATE_API FReply | HandleMouseMove (const FGeometry &InMyGeometry, const FPointerEvent &InMouseEvent) |
| |
| SLATE_API FReply | HandleMouseButtonDoubleClick (const FGeometry &InMyGeometry, const FPointerEvent &InMouseEvent) |
| |
| SLATE_API bool | HandleEscape () |
| |
| SLATE_API bool | HandleBackspace () |
| |
| SLATE_API bool | HandleDelete () |
| |
| SLATE_API bool | HandleTypeChar (const TCHAR InChar) |
| |
| SLATE_API bool | HandleCarriageReturn (bool isRepeat, int32 UserIndex=0) |
| |
| SLATE_API bool | CanExecuteDelete () const |
| |
| SLATE_API void | DeleteSelectedText () |
| |
| SLATE_API bool | AnyTextSelected () const |
| |
| SLATE_API bool | IsTextSelectedAt (const FGeometry &MyGeometry, const UE::Slate::FDeprecateVector2DParameter &ScreenSpacePosition) const |
| |
| SLATE_API bool | IsTextSelectedAt (const UE::Slate::FDeprecateVector2DParameter &InLocalPosition) const |
| |
| SLATE_API bool | CanExecuteSelectAll () const |
| |
| SLATE_API void | SelectAllText () |
| |
| SLATE_API void | SelectWordAt (const FGeometry &MyGeometry, const UE::Slate::FDeprecateVector2DParameter &ScreenSpacePosition) |
| |
| SLATE_API void | SelectWordAt (const UE::Slate::FDeprecateVector2DParameter &InLocalPosition) |
| |
| SLATE_API void | SelectText (const FTextLocation &InSelectionStart, const FTextLocation &InCursorLocation) |
| |
| SLATE_API void | ClearSelection () |
| |
| SLATE_API bool | CanExecuteCut () const |
| |
| SLATE_API void | CutSelectedTextToClipboard () |
| |
| SLATE_API bool | CanExecuteCopy () const |
| |
| SLATE_API void | CopySelectedTextToClipboard () |
| |
| SLATE_API bool | CanExecutePaste () const |
| |
| SLATE_API void | PasteTextFromClipboard () |
| |
| SLATE_API void | InsertTextAtCursor (const FString &InString) |
| |
| SLATE_API void | InsertRunAtCursor (TSharedRef< IRun > InRun) |
| |
| SLATE_API bool | MoveCursor (const FMoveCursor &InArgs) |
| |
| SLATE_API void | GoTo (const FTextLocation &NewLocation) |
| |
| SLATE_API void | GoTo (const ETextLocation NewLocation) |
| |
| SLATE_API void | JumpTo (ETextLocation JumpLocation, ECursorAction Action) |
| |
| SLATE_API void | ScrollTo (const FTextLocation &NewLocation) |
| |
| SLATE_API void | ScrollTo (const ETextLocation NewLocation) |
| |
| SLATE_API void | UpdateCursorHighlight () |
| |
| SLATE_API void | RemoveCursorHighlight () |
| |
| SLATE_API void | UpdatePreferredCursorScreenOffsetInLine () |
| |
| SLATE_API void | ApplyToSelection (const FRunInfo &InRunInfo, const FTextBlockStyle &InStyle) |
| |
| SLATE_API TSharedPtr< const IRun > | GetRunUnderCursor () const |
| |
| SLATE_API TArray< TSharedRef< const IRun > > | GetSelectedRuns () const |
| |
| SLATE_API FTextLocation | GetCursorLocation () const |
| |
| SLATE_API FTextLocation | TranslatedLocation (const FTextLocation &CurrentLocation, int8 Direction) const |
| |
| SLATE_API void | TranslateLocationVertical (const FTextLocation &Location, int32 NumLinesToMove, float GeometryScale, FTextLocation &OutCursorPosition, TOptional< SlateEditableTextTypes::ECursorAlignment > &OutCursorAlignment) const |
| |
| SLATE_API FTextLocation | ScanForWordBoundary (const FTextLocation &Location, int8 Direction) const |
| |
| SLATE_API TCHAR | GetCharacterAt (const FTextLocation &Location) const |
| |
| SLATE_API bool | IsAtBeginningOfDocument (const FTextLocation &Location) const |
| |
| SLATE_API bool | IsAtEndOfDocument (const FTextLocation &Location) const |
| |
| SLATE_API bool | IsAtBeginningOfLine (const FTextLocation &Location) const |
| |
| SLATE_API bool | IsAtEndOfLine (const FTextLocation &Location) const |
| |
| SLATE_API bool | IsAtWordStart (const FTextLocation &Location) const |
| |
| SLATE_API void | RestoreOriginalText () |
| |
| SLATE_API bool | HasTextChangedFromOriginal () const |
| |
| SLATE_API void | BeginEditTransation () |
| |
| SLATE_API void | EndEditTransaction () |
| |
| SLATE_API void | PushUndoState (const SlateEditableTextTypes::FUndoState &InUndoState) |
| |
| SLATE_API void | ClearUndoStates () |
| |
| SLATE_API void | MakeUndoState (SlateEditableTextTypes::FUndoState &OutUndoState) |
| |
| SLATE_API bool | CanExecuteUndo () const |
| |
| SLATE_API void | Undo () |
| |
| SLATE_API bool | CanExecuteRedo () const |
| |
| SLATE_API void | Redo () |
| |
| SLATE_API void | SaveText (const FText &TextToSave) |
| |
| SLATE_API void | LoadText () |
| |
| SLATE_API bool | ComputeVolatility () const |
| |
| SLATE_API void | Tick (const FGeometry &AllottedGeometry, const double InCurrentTime, const float InDeltaTime) |
| |
| SLATE_API int32 | OnPaint (const FPaintArgs &Args, const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, FSlateWindowElementList &OutDrawElements, int32 LayerId, const FWidgetStyle &InWidgetStyle, bool bParentEnabled) |
| |
| SLATE_API void | CacheDesiredSize (float LayoutScaleMultiplier) |
| |
| SLATE_API FVector2D | ComputeDesiredSize (float LayoutScaleMultiplier) const |
| |
| SLATE_API FChildren * | GetChildren () |
| |
| SLATE_API void | OnArrangeChildren (const FGeometry &AllottedGeometry, FArrangedChildren &ArrangedChildren) const |
| |
| SLATE_API UE::Slate::FDeprecateVector2DResult | GetSize () const |
| |
| SLATE_API TSharedRef< SWidget > | BuildDefaultContextMenu (const TSharedPtr< FExtender > &InMenuExtender) const |
| |
| SLATE_API bool | HasActiveContextMenu () const |
| |
| SLATE_API void | GetCurrentTextLine (FString &OutTextLine) const |
| |
| SLATE_API void | GetTextLine (const int32 InLineIndex, FString &OutTextLine) const |
| |
| SLATE_API void | ToggleVirtualKeyboard (bool bShow, const int32 UserIndex) |
| |
Class to handle the cached layout of SEditableText/SMultiLineEditableText by proxying around a FTextLayout