EdFind.sgm 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!-- $XConsortium: EdFind.sgm /main/5 1996/08/30 12:59:03 rws $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCSA.MAN23.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCSA.MAN23.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>DtEditorFind</RefEntryTitle>
  13. <ManVolNum>library call</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Function>DtEditorFind</Function></RefName>
  17. <RefPurpose>search for the next occurrence of a string in a DtEditor widget
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- CDE Common Source Format, Version 1.0.0-->
  21. <!-- *************************************************************************-->
  22. <!-- ** (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
  23. <!-- ** (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
  24. <!-- ** (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
  25. <!-- ** (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
  26. <!-- *************************************************************************-->
  27. <RefSynopsisDiv>
  28. <FuncSynopsis Remap="ANSI">
  29. <FuncSynopsisInfo>#include &lt;Dt/Editor.h>
  30. </FuncSynopsisInfo>
  31. <FuncDef>Boolean <Function>DtEditorFind</Function></FuncDef>
  32. <ParamDef>Widget <Parameter>widget</Parameter></ParamDef>
  33. <ParamDef>char *<Parameter>find</Parameter></ParamDef>
  34. </FuncSynopsis>
  35. </RefSynopsisDiv>
  36. <RefSect1>
  37. <Title>DESCRIPTION</Title>
  38. <Para>The
  39. <Function>DtEditorFind</Function> function searches for the next occurrence (relative to the
  40. insertion cursor) of a string.
  41. The string is either
  42. the last find string value specified in the
  43. Find/Change dialog (see
  44. &cdeman.DtEditorInvokeFindChangeDialog;) or is passed in as an argument.
  45. </Para>
  46. <Para>The
  47. <Symbol Role="Variable">widget</Symbol> argument specifies the DtEditor widget ID.
  48. </Para>
  49. <Para>The
  50. <Emphasis>find</Emphasis> argument specifies the string to search for.
  51. If
  52. <Emphasis>find</Emphasis> is
  53. <SystemItem Class="Constant">NULL</SystemItem>, <Function>DtEditorFind</Function> uses the last string specified in the Find field of the
  54. Find/Change dialog.
  55. If the string is not found by the time the end of the document is reached,
  56. the search continues at the beginning of the document,
  57. stopping at the character before the insertion cursor.
  58. <![ %CDE.C.CDE; [</Para>
  59. <Para>For a complete definition of the DtEditor widget
  60. and its associated resources, see
  61. &cdeman.DtEditor;. ]]></Para>
  62. </RefSect1>
  63. <RefSect1>
  64. <Title>RETURN VALUE</Title>
  65. <Para>Upon successful completion, the
  66. <Function>DtEditorFind</Function> function returns
  67. True
  68. if the search string was found;
  69. otherwise, it returns
  70. False.
  71. </Para>
  72. </RefSect1>
  73. <RefSect1>
  74. <Title>SEE ALSO</Title>
  75. <Para>&cdeman.Dt.Editor.h;, &cdeman.DtEditor;, &cdeman.DtEditorChange;, &cdeman.DtEditorInvokeFindChangeDialog;.</Para>
  76. </RefSect1>
  77. </RefEntry>
  78. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:40:24-->