home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / p2docs21.exe / WHATSNEW.TXT < prev   
Text File  |  1995-04-26  |  6KB  |  138 lines

  1.    In this release of PREDITOR/2, we've concentrated on emphasizing
  2.    source code awareness.  Take a look at what we've done . . .
  3.                                    
  4.  
  5. COLOR HIGHLIGHTING
  6.  
  7. The Colors page in the Settings notebook enables you to move beyond
  8. uniform foreground and background text colors with color highlighting
  9. of source code expressions and keywords.  Built-in support is provided
  10. for many languages including C and C++, COBOL, REXX and PASCAL.  You
  11. can easily modify these languages and even add entire new languages
  12. through the Colors page.
  13.  
  14. The Colors page is part of the new Types section of the Settings
  15. notebook.  Other pages allow you to define compilers and enable
  16. language templates.
  17.  
  18.  
  19. DETACHED WINDOW MODE
  20.  
  21. Beyond the single and multiple document interface modes, you can now
  22. detach your windows from the main editor window.  In detached mode, you
  23. can move your toolbar and windows anywhere on the display.  A control
  24. panel acts as your main editor window, providing quick access to all
  25. open files.
  26.  
  27. The One buffer per window option enables you to specify that each new
  28. buffer will have its own window.  The next and previous buffer commands
  29. then switch between windows, and closing a window closes the associated
  30. buffer.  These options are enabled in the Window section of the
  31. Settings notebook or in the new Quick Settings dialog.
  32.  
  33.  
  34. C AND C++ SOURCE BROWSING
  35.  
  36. We've improved Hypertext browsing of C and C++ programs with a new
  37. CTags Make dialog box and the addition of incremental compilation for
  38. the source database.  To use this feature, select CTags make... on the
  39. Tools menu and specify the source directories and file extensions for
  40. your C and C++ source files.
  41. Once the database is built, you can select the Tags locate... item on
  42. the Tools menu to jump to the file containing the definition of a
  43. symbol. See the function local_keys() in the file LOCAL.PEL for sample
  44. key assignments for the tags and tags_auto commands. Subsequent
  45. invocations of the CTags Make dialog will only compile files that have
  46. changed.
  47.  
  48.  
  49. HEX EDITING
  50.  
  51. For help in editing files containing non-text characters, you can
  52. enable hex mode with the Toggle hex mode item on the Window menu.  When
  53. PREDITOR/2 is in hex mode, the screen contains two columns:  the hex
  54. characters on the left, and the matching ASCII characters on the right.
  55. Now there's no need to use different tools for text and data file
  56. editing.
  57.  
  58. Use the [Tab] key to move between the hex side (on the left) and the
  59. character side (on the right).  Both sides reflect any changes,
  60. regardless of where they were made.  To leave hex editing mode, press
  61. the [Esc] key (in all emulations except VI and EMACS) or select Toggle
  62. hex mode again.
  63.  
  64.  
  65. SMART TEMPLATES AND MATCHING
  66.  
  67. This release of PREDITOR/2 significantly improves the source code
  68. awareness of many editor operations. For example, language templates
  69. will not expand if they are typed within comments or strings.  Also,
  70. the goto_matching command (Find matching item on the Edit menu) will
  71. ignore matching pairs in comments and strings.  The definition of
  72. comments and string literals is language-specific and shared with the
  73. Colors notebook page.
  74. Template expansion is enabled on the Quick Settings dialog or the
  75. Template page in the Types section of the Settings notebook.  The
  76. matching pairs for each language can be single or multiple character
  77. strings and are defined on the Extensions page, also in the Types
  78. section.
  79.  
  80.  
  81. LINE DRAWING
  82.  
  83. A new function, linedraw(), lets you diagram source code simply and
  84. effectively.  This function causes the arrow keys on your keyboard's
  85. number pad to be redefined to draw lines in one of four different
  86. styles:
  87.  
  88.    1              2
  89.      ┌───┬───┐      █▀▀▀█▀▀▀█
  90.      │   │   │      █   █   █
  91.      ├───┼───┤      █▀▀▀█▀▀▀█
  92.      │   │   │      █   █   █
  93.      └───┴───┘      ▀▀▀▀▀▀▀▀▀
  94.    
  95.    3              4
  96.      +---+---+      ╔═══╦═══╗
  97.      |   |   |      ║   ║   ║
  98.      +---+---+      ╠═══╬═══╣
  99.      |   |   |      ║   ║   ║
  100.      +---+---+      ╚═══╩═══╝
  101.  
  102. In addition, using the [Ctrl] key with any of these arrow keys draws an
  103. arrow in the appropriate direction.
  104.  
  105.  
  106. QUICK SETTINGS
  107.  
  108. Use the Quick Settings item on the Options menu to change some of the
  109. editor's most commonly used settings. A subset of the Settings
  110. notebook, your Quick Settings are applied to all buffers, windows, and
  111. types, and are made defaults as appropriate.
  112. For more detail on a Quick Settings option, open the corresponding
  113. section in the Settings notebook.
  114.  
  115.  
  116. PERFORMANCE AND USABILITY
  117.  
  118. This release contains many performance and usability improvements.
  119. Most significantly, startup time is reduced up to 50 percent and
  120. scrolling speed is improved - even with the addition of color
  121. highlighting.  For workgroup support, files can be locked individually
  122. or by type (LAN, local or floppy) and optionally copied to virtual
  123. memory when opened or modified.
  124. The PREDITOR/2 User's Guide and online help have been rewritten and
  125. reorganized to allow quicker and more accurate access to needed
  126. information.  The Settings notebook, while more extensive, has been
  127. made easier to use with the addition of OK and Cancel buttons and
  128. better organization of options.
  129.  
  130.  
  131. ADDITIONAL IMPROVEMENTS
  132.  
  133. ·  Recursive option for file search and replace
  134. ·  Support for DOS compilers and compilers that require input
  135. ·  Formatted source code printing with optional headers and footers
  136. ·  Customizable cursor
  137.  
  138.