Articles
Forums
Downloads
Autodocs
Home
/
Autodocs
/
texteditor.gadget
NAME
GM_TEXTEDITOR_Replace
SYNOPSIS
DoGadgetMethod(obj, win, req, GM_TEXTEDITOR_Replace, NULL, STRPTR
newstring, ULONG flags);
FUNCTION
This method replace the marked area with the string given. Currently no flags are defined, so pass 0L for now.
RESULT
TRUE if the string was replaced. A failure is likely to be because nothing was marked when this method got invoked.