home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / ied_uran.zip / iedit.txt < prev    next >
Text File  |  1995-12-03  |  4KB  |  93 lines

  1. |    
  2. | 2nd December, 1995
  3. |
  4. +---------------------+-------------------------------------------
  5.                       |
  6. iEdit v.Uranus beta   | This utility is Postcardware
  7.                       |
  8. by                    | This means that you may freely
  9.                       | use and distribute it as long as
  10. Alexander Wilkens     | it is not modified in any way.
  11.                       | If you use this program you are
  12. of                    | encouraged to send me a postcard
  13.                       | from your hometown. A small price
  14. iLogic Software, 1995 | to pay and it means much to me!
  15.                       |
  16. ----------------------+ Email address: wilkens@stud.cs.uit.no
  17.                       |
  18.                       | Mail: Alexander Wilkens
  19.                       |       Hansmarkveien 37
  20.                       |       9013 Tromsoe
  21.                       |       Norway
  22.                       |
  23.                       +--------------------------------------------
  24.  
  25. This beta is provided as is. The author can not be held
  26. responsible for any lost data, or other damage occuring
  27. directly or indirecly from the use of iEdit. However,
  28. this beta is considered SAFE in use as the author has
  29. personally it used for about a year now.
  30.  
  31.  
  32. No documentation is provided at this stage, other than
  33. a small summary of the REXX commands available. The file
  34. and edit menus work 100%, statistics in the special menu
  35. is currently not implemented. Configure should work, and
  36. help does nothing. Settings are saved in IEDIT.INI in the
  37. same directoy as you put iEdit.
  38.  
  39.  
  40. Features that may and may no be implemented:
  41. --------------------------------------------
  42.  
  43. -REXX command for filerequester
  44. -REXX command for YES/NO/CANCEL dialog
  45. -REXX command for search
  46. -REXX command for text input requester
  47. -REXX command for writing in the statline (bottom left)
  48.  
  49. -statistics (words, chars, lines, etc. in document)
  50. -Read only mode for file viewing
  51. -Ability to add rexx scripts to menu
  52. -Wordstar similar shortcuts
  53.  
  54. REXX command summary:
  55. ---------------------
  56.  
  57. rc      = edMessageBox("messagebox")    * Messagebox popup
  58. min_sel = edQuerySelMin()                * Returns min selection point (top/leftmost)
  59. max_sel = edQuerySelMax()                * Returns min selection point (bottom/rightmost)
  60. cur_pos = edQueryCursorPos()            * Returns cursor position
  61. anc_pos = edQueryAnchorPos()            * Returns anchor position
  62. tex_len = edQueryTextLength()            * Returns text length
  63. lin_len = edQueryLineLength(linenum)    * Returns line length
  64. lin_cnt = edQueryLineCount()            * Returns line count
  65. sel_tex = edQuerySelText()                * Returns selected text
  66. all_tex = edQueryText()                    * Returns entire text
  67. fil_nam = edQueryFilename()                * Returns filename
  68. fil_nam = edSetFilename("filename")        * Sets the filename
  69. cur_chr = edQueryCurrentChar()            * Returns character at cursor
  70. cur_lin = edQueryCurrentLine()            * Returns text at current line
  71. rc      = edLoadFile("filename")        * Load file
  72. rc      = edSaveFile("filename")        * Save file
  73. rc      = edImport("filename")            * Import at cursor position
  74. rc      = edExport("filename")            * Export selected text
  75. rc      = edInsertText("text")            * Insert text at curs position
  76. rc      = edSetText("text")                * Replace all contents with "text"
  77. rc      = edSetCurrentChar("char")        * Replace char at cursor position
  78. rc      = edSetCurrentLine("line")        * Replace current line with "line"
  79.  
  80. Known bugs:
  81.  
  82. edSetCurrentLine()    * Note: Does not preserve selection!
  83.                     * Bug: Does not work correctly on last line!
  84.  
  85. -- The following are new in v.Uranus --
  86.  
  87. rc      = edSetCursorPos(pos)            * Places the cursor at pos
  88. rc      = edSetAnchorPos(pos)            * Places the anchor at pos
  89. rc      = edGotoLine(line num)            * Sets anchor and cursor at line num (first line = 1)
  90. linenum = edQueryCurrentLineNum()        * Returns the current line number
  91.  
  92.  
  93. That's ALL folks! Enjoy!