MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / execConsoleCallback

Method execConsoleCallback

Engine/source/gui/controls/guiTextEditCtrl.cpp:211–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211void GuiTextEditCtrl::execConsoleCallback()
212{
213 // Execute the console command!
214 Parent::execConsoleCallback();
215
216 // Update the console variable:
217 if ( mConsoleVariable[0] )
218 Con::setVariable(mConsoleVariable, mTextBuffer.getPtr8());
219}
220
221void GuiTextEditCtrl::updateHistory( StringBuffer *inTxt, bool moveIndex )
222{

Callers

nothing calls this directly

Calls 2

setVariableFunction · 0.85
getPtr8Method · 0.80

Tested by

no test coverage detected