Docs » Autodocs » texteditor.gadget » OM_TEXTEDITOR_Replace
OM_TEXTEDITOR_Replace
DoGadgetMethod(obj, win, req, OM_TEXTEDITOR_Replace, NULL, STRPTR newstring, ULONG flags);
This method replace the marked area with the string given. Currently no flags are defined, so pass 0L for now.
TRUE if the string was replaced. A failure is likely to be because nothing was marked when this method got invoked.
|