a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Other:
 texteditor.gadget
  GA_TEXTEDITOR_AreaMarked
  GA_TEXTEDITOR_ColorMap
  GA_TEXTEDITOR_Contents
  GA_TEXTEDITOR_CursorX
  GA_TEXTEDITOR_CursorY
  GA_TEXTEDITOR_DoubleClickHook
  GA_TEXTEDITOR_ExportHook
  GA_TEXTEDITOR_ExportWrap
  GA_TEXTEDITOR_FixedFont
  GA_TEXTEDITOR_Flow
  GA_TEXTEDITOR_HasChanged
  GA_TEXTEDITOR_ImportHook
  GA_TEXTEDITOR_ImportWrap
  GA_TEXTEDITOR_InVirtualGroup
  GA_TEXTEDITOR_InsertMode
  GA_TEXTEDITOR_Pen
  GA_TEXTEDITOR_Prop_DeltaFactor
  GA_TEXTEDITOR_Prop_Entries
  GA_TEXTEDITOR_Prop_First
  GA_TEXTEDITOR_Prop_Visible
  GA_TEXTEDITOR_Quiet
  GA_TEXTEDITOR_ReadOnly
  GA_TEXTEDITOR_RedoAvailable
  GA_TEXTEDITOR_Separator
  GA_TEXTEDITOR_Slider
  GA_TEXTEDITOR_StyleBold
  GA_TEXTEDITOR_StyleItalic
  GA_TEXTEDITOR_StyleUnderline
  GA_TEXTEDITOR_TypeAndSpell
  GA_TEXTEDITOR_UndoAvailable
  GA_TEXTEDITOR_WrapBorder
  GM_TEXTEDITOR_ARexxCmd
  GM_TEXTEDITOR_ClearText
  GM_TEXTEDITOR_ExportBlock
  GM_TEXTEDITOR_ExportText
  GM_TEXTEDITOR_HandleError
  GM_TEXTEDITOR_InsertText
  GM_TEXTEDITOR_MacroBegin
  GM_TEXTEDITOR_MacroEnd
  GM_TEXTEDITOR_MacroExecute
  GM_TEXTEDITOR_MarkText
  GM_TEXTEDITOR_Search
  OM_TEXTEDITOR_Replace
  texteditor.gadget
Include
GuruMeditation
Docs » Autodocs » texteditor.gadget » GM_TEXTEDITOR_Search

NAME

        OM_TEXTEDITOR_Search

SYNOPSIS

        DoGadgetMethod(obj, win, req, OM_TEXTEDITOR_Search, NULL, STRPTR string, ULONG flags);

FUNCTION

        Searches the text for the given string. The string mustn't exceed 120
characters.
Flags can be:
GF_TEXTEDITOR_Search_FromTop
Normally the search starts at the cursor position - this flag will
make it start at the beginning of the text.
GF_TEXTEDITOR_Search_CaseSensitive
If you want the search to be case sensitive, then set this flag.

RESULT

        TRUE if the string was found, otherwise FALSE.

NOTES

        If the string was found then it's left marked. So in case you want to
replace it, simply clear the marked string and insert the new one.

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Abyss

RBS
AYS
RSI
SNT

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se