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

Method getTextContent

Engine/source/gui/controls/guiMLTextCtrl.cpp:558–568  ·  view source on GitHub ↗

--------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

556
557//--------------------------------------------------------------------------
558const char* GuiMLTextCtrl::getTextContent()
559{
560 if ( mTextBuffer.length() > 0 )
561 {
562 UTF8* returnString = Con::getReturnBuffer( mTextBuffer.getUTF8BufferSizeEstimate() );
563 mTextBuffer.getCopy8(returnString, mTextBuffer.getUTF8BufferSizeEstimate() );
564 return returnString;
565 }
566
567 return( "" );
568}
569
570//--------------------------------------------------------------------------
571const char *GuiMLTextCtrl::getScriptValue()

Callers 1

guiMLTextCtrl.cppFile · 0.80

Calls 4

getReturnBufferFunction · 0.85
getCopy8Method · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected