MCPcopy Create free account
hub / github.com/MyGUI/mygui / setCursorPosition

Method setCursorPosition

MyGUIEngine/src/MyGUI_EditText.cpp:345–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343 }
344
345 void EditText::setCursorPosition(size_t _index)
346 {
347 if (mCursorPosition == _index)
348 return;
349 mCursorPosition = _index;
350
351 if (nullptr != mNode)
352 mNode->outOfDate(mRenderItem);
353 }
354
355 void EditText::setTextAlign(Align _value)
356 {

Callers 13

initialiseOverrideMethod · 0.80
notifyMousePressedMethod · 0.80
notifyMouseDragMethod · 0.80
onKeyButtonPressedMethod · 0.80
frameEnteredMethod · 0.80
setTextCursorMethod · 0.80
setTextSelectionMethod · 0.80
commandUndoMethod · 0.80
commandRedoMethod · 0.80
setTextMethod · 0.80
insertTextMethod · 0.80

Calls 1

outOfDateMethod · 0.45

Tested by

no test coverage detected