home *** CD-ROM | disk | FTP | other *** search
/ Millennium Time Capsule / AC2000.BIN / disks / ac3_disk / edi_disk / edith / system / help / search.txt < prev    next >
Encoding:
Text File  |  1996-08-25  |  2.9 KB  |  92 lines

  1.  
  2. Edith Manual            Search           11th June 1994
  3.  
  4.  
  5. One dialog takes care of both SEARCH and REPLACE.   The
  6. SEARCH dialog  is opened  from the  SEARCH menu  or  by
  7. pressing ^F.
  8.  
  9.  
  10. To SEARCH  for a  string in  a text,   type it  in  the
  11. TARGET EXPRESSION field,  and click the SEARCH  button.
  12. Search for the next string by selecting SEARCH NEXT  in
  13. the SEARCH menu or by pressing ^G.
  14.  
  15. When ALL is selected, all strings are marked at once.
  16.  
  17. To SEARCH  and  REPLACE  a  set  of  strings, type  the
  18. replacement in  the SUBSTITUTE  EXPRESSION field.   Now
  19. you can either search and replace targets one by one or
  20. replace them all at  once; to do the  first, repeatedly
  21. select SEARCH or  press ^G and  then select REPLACE  or
  22. press ^H.
  23.  
  24. To REPLACE ALL targets AT ONCE, select the ALL  switch,
  25. select SEARCH, and then select REPLACE.
  26.  
  27.  
  28. ** Click on the TARGET EXPRESSION field to enter a pull
  29.    down menu allowing you to choose between four  pairs
  30.    of target/substitute expression pairs.
  31.  
  32. ** The search  and  replace  system makes  use  of  the
  33.    cut/paste  text  buffer  to  store  the  replacement
  34.    strings.
  35.  
  36.  
  37.  
  38. The following  OPTIONS  are available  for  search  and
  39. replace:
  40.  
  41.    ∙  Wildcards on/off.   When wildcards  are  ON, some
  42.       characters   in   the   target   and   substitute
  43.       expressions have a special meaning.  See below.
  44.  
  45.    ∙  As word.  When this is selected, the strings  are
  46.       only marked when they constitute a full word.
  47.  
  48.    ∙  Up.  When  this switch  is selected, strings  are
  49.       found in upward direction.
  50.  
  51.    ∙  Case  sensitive.    When  this   switch  is   NOT
  52.       selected,  strings  are  also  marked  when  they
  53.       differ in case to the original target expression.
  54.  
  55.    ∙  All Expressions.  When  this switch is  selected,
  56.       all four  target/substitute  pairs are  used  for
  57.       searching and replacement.
  58.  
  59.  
  60.  
  61. WILDCARDS are used to search for strings which are  not
  62. literally the same, but match some general pattern with
  63. a number  of holes.   The following  characters have  a
  64. special  meaning   in   the   target   and   substitute
  65. expressions when WILDCARDS are enabled:
  66.  
  67.    TARGET EXPRESSION
  68.  
  69.      ?, !   Match any character
  70.      *, &   Match any string or zero or more characters
  71.      [a-z]  Match any of a-z
  72.      [^a-z] Match any character not in a-z
  73.      ^      Match the beginning of a line
  74.      $      Match the end of a line
  75.      \c     Match the character c literally
  76.  
  77.      \( string \)  Marks part of the string for use  in
  78.                    the replacement.
  79.  
  80.    SUBSTITUTE EXPRESSION
  81.  
  82.      ?   The character matched by ?
  83.      *   The string matched by *
  84.      !   The character matched by ! or by [a-z], [^a-z]
  85.      &   The string matched by  & or the part  enclosed
  86.          by \( and \).
  87.      \c  The character c literally.
  88.  
  89.  
  90. Edith Manual            Search           11th June 1994
  91.  
  92.