mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Merge pull request #466 from eightyeight/mltext-default-reformat
Added default parameter to GuiMLTextCtrl::addText
This commit is contained in:
commit
ef4cee7b17
1 changed files with 2 additions and 2 deletions
|
|
@ -121,10 +121,10 @@ DefineEngineMethod( GuiMLTextCtrl, getText, const char*, (),,
|
||||||
return( object->getTextContent() );
|
return( object->getTextContent() );
|
||||||
}
|
}
|
||||||
|
|
||||||
DefineEngineMethod( GuiMLTextCtrl, addText, void, ( const char* text, bool reformat),,
|
DefineEngineMethod( GuiMLTextCtrl, addText, void, ( const char* text, bool reformat), (true),
|
||||||
"@brief Appends the text in the control with additional text. Also .\n\n"
|
"@brief Appends the text in the control with additional text. Also .\n\n"
|
||||||
"@param text New text to append to the existing text.\n"
|
"@param text New text to append to the existing text.\n"
|
||||||
"@param reformat If true, the control will also be visually reset.\n"
|
"@param reformat If true, the control will also be visually reset (defaults to true).\n"
|
||||||
"@tsexample\n"
|
"@tsexample\n"
|
||||||
"// Define new text to add\n"
|
"// Define new text to add\n"
|
||||||
"%text = \"New Text to Add\";\n\n"
|
"%text = \"New Text to Add\";\n\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue