home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / os2tk21j / c / samples / tp / blep.cs_ / blep.csc
Encoding:
Text File  |  1993-03-12  |  954 b   |  46 lines

  1. #   @(#)blep.csc 1.3 1/22/92 16:08:28 [1/26/92] (c)IBM Corp. 1992
  2.  
  3. -- This class is adapted from the book
  4. --   Class Construction in C and C++, Object Oriented Fundamentals
  5. --   by Roger Sessions, Copyright (c) 1992 Prentice Hall.
  6. -- Reprinted with permission.
  7.  
  8. include "txtep.sc"
  9.  
  10. class: bulletedList,
  11.   local;
  12.  
  13. parent: txtEnvProcessor;
  14.  
  15. /*
  16. ----------------------------------------------------
  17.   Class: bulletedList
  18. Purpose: This environment treats new paragraphs as
  19.      items in a bulleted list.  It is invoked
  20.      with the [[bulleted_list]] text command.
  21.      For example, this text:
  22.  
  23.      [[bulleted_list]]
  24.      one
  25.  
  26.      two
  27.  
  28.      three
  29.      [[end_environment]]
  30.  
  31.      creates this output:
  32.  
  33.        -one
  34.        -two
  35.        -three
  36. ---------------------------------------------------- */
  37.  
  38.  
  39. methods:
  40.  
  41.   override epGetParagraphIndentation;
  42.   override epGetLineIndentation;
  43.   override epInitializeEnvironment;
  44.   override tpProcessNewParagraph;
  45.  
  46.