home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / listpm.zip / source / findmle.hpp < prev    next >
Text File  |  1996-07-08  |  2KB  |  46 lines

  1. /*
  2.     listPM list files under Presentation Manager. Uses Open Class Libarary.
  3.     Copyright (C) 1996  Paul Elliott
  4.  
  5.     This program is free software; you can redistribute it and/or modify
  6.     it under the terms of the GNU General Public License as published by
  7.     the Free Software Foundation; either version 2 of the License, or
  8.     (at your option) any later version.
  9.  
  10.     This program is distributed in the hope that it will be useful,
  11.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.     GNU General Public License for more details.
  14.  
  15.     You should have received a copy of the GNU General Public License
  16.     along with this program; if not, write to the Free Software
  17.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19.     Paul Elliott
  20.     3987 South Gessner #224
  21.     Houston Tx 77063
  22.     Paul.Elliott@Hrnowl.LoneStar.Org
  23. */
  24. #ifndef FINDMLE
  25. #define FINDMLE
  26.  
  27. #include <i0string.hpp>
  28. #include <imle.hpp>
  29. #include <ipoint.hpp>
  30.  
  31.  
  32. /*
  33.  
  34. search for given expression in a IMultiLineEdit.
  35. Can search in forward or reverse direction.
  36. Exact case match can be required.
  37. the found text is slected and cursor pointed at the found text in
  38. the direction of search.
  39. */
  40. Boolean FindMle(
  41.                    IMultiLineEdit& mle,   // multi line edit field
  42.                    Boolean forward,       // if true search forward.
  43.                    Boolean exact,         // exact case search?
  44.                    const IString str);    // string to search for.
  45. #endif // FINDMLE
  46.