LeviLamina
Loading...
Searching...
No Matches
TextEditContext Class Reference

Public Types

enum class  CaretUpdate : uchar
 
enum class  TextEditAction : uchar
 
enum class  CaretUpdate : uchar
 
enum class  TextEditAction : uchar
 

Public Member Functions

MCAPI void _feedDiff (::std::string_view oldText, ::std::string_view newText) const
 
MCAPI void _feedInsert (::std::string_view text) const
 
MCAPI void _onCopy ()
 
MCAPI void _onPaste (::std::wstring const &cbText)
 
MCAPI void _replaceSelection (::std::string_view replacementUtf8Text)
 
MCAPI void _setText (::std::string_view newUtf8Text)
 
MCAPI void feedAction (::TextEditContext::TextEditAction action)
 
MCAPI void feedCaretUpdate (::TextEditContext::CaretUpdate caretMovement)
 
MCAPI void feedText (::std::string_view utf8Text)
 
MCAPI void setCaretLocation (int location)
 
MCAPI void $dtor ()
 

Public Attributes

::ll::TypedStorage< 1, 1, bool > mIsEnabled
 
::ll::TypedStorage< 1, 1, bool > mCtrlDown
 
::ll::TypedStorage< 8, 32, ::std::string > mCurrentUtf8Text
 
::ll::TypedStorage< 4, 4, int > mCaret
 
::ll::TypedStorage< 1, 1, bool > mHighlightSelection
 
::ll::TypedStorage< 4, 4, int > mMaxLength
 
::ll::TypedStorage< 4, 8, ::TextRangemSelection
 
::ll::TypedStorage< 8, 8, ::IKeyboardProxy * > mKeyboard
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IKeyboardProxy > > mKeyboardProxy
 

The documentation for this class was generated from the following files: