2
0

fphelp.pas 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  1. {
  2. $Id$
  3. This file is part of the Free Pascal Integrated Development Environment
  4. Copyright (c) 1998 by Berczi Gabor
  5. Help routines for the IDE
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. unit FPHelp;
  13. interface
  14. uses
  15. Drivers,HelpCtx,
  16. WHelp,WHlpView,WHTML,
  17. {$ifdef EDITORS}
  18. Editors,
  19. {$else}
  20. WEditor,
  21. {$endif}
  22. WViews,FPViews;
  23. type
  24. PIDEStatusLine = ^TIDEStatusLine;
  25. TIDEStatusLine = object(TAdvancedStatusLine)
  26. function Hint(AHelpCtx: Word): String; virtual;
  27. procedure HandleEvent(var Event: TEvent); virtual;
  28. end;
  29. procedure Help(FileID, Context: THelpCtx; Modal: boolean);
  30. procedure HelpIndex(Keyword: string);
  31. procedure HelpTopicSearch(Editor: PEditor);
  32. procedure HelpTopic(const S: string);
  33. procedure CloseHelpWindows;
  34. procedure InitHelpSystem;
  35. procedure DoneHelpSystem;
  36. procedure InitHelpFiles;
  37. procedure DoneHelpFiles;
  38. procedure PushStatus(S: string);
  39. procedure SetStatus(S: string);
  40. procedure ClearStatus;
  41. procedure PopStatus;
  42. const
  43. HelpWindow : PFPHelpWindow = nil;
  44. HelpInited : boolean = false;
  45. implementation
  46. uses Objects,Views,App,MsgBox,Commands,
  47. WHTMLHlp,
  48. FPConst,FPVars,FPUtils;
  49. const
  50. MaxStatusLevel = {$ifdef FPC}10{$else}1{$endif};
  51. var StatusStack : array[0..MaxStatusLevel] of string[MaxViewWidth];
  52. const
  53. StatusStackPtr : integer = 0;
  54. procedure TIDEStatusLine.HandleEvent(var Event: TEvent);
  55. begin
  56. case Event.What of
  57. evBroadcast :
  58. case Event.Command of
  59. cmUpdate : Update;
  60. end;
  61. end;
  62. inherited HandleEvent(Event);
  63. end;
  64. function TIDEStatusLine.Hint(AHelpCtx: Word): String;
  65. var S: string;
  66. begin
  67. case AHelpCtx of
  68. hcNoContext : S:='';
  69. hcSourceWindow : S:='';
  70. hcHelpWindow : S:='';
  71. hcCalcWindow : S:='';
  72. hcInfoWindow : S:='';
  73. hcClipboardWindow:S:='';
  74. hcBrowserWindow : S:='';
  75. hcMessagesWindow: S:='';
  76. hcASCIITableWindow: S:='';
  77. hcGDBWindow : S:='Raw GDB communication window';
  78. hcBreakpointListWindow : S:='All current breakpoints';
  79. hcSystemMenu : S:='System menu';
  80. hcUpdate : S:='Refresh and redraw display';
  81. hcAbout : S:='Show version and copyright information';
  82. hcFileMenu : S:='File managment commands (Open, New, Save, etc.)';
  83. hcNew : S:='Create a new file in a new edit window';
  84. hcNewFromTemplate:S:='Create a new file using a code template';
  85. hcOpen : S:='Locate and open a file in an edit window';
  86. hcSave : S:='Save the file in the active edit window';
  87. hcSaveAs : S:='Save the current file under a different name, directory or drive';
  88. hcSaveAll : S:='Save all modified files';
  89. hcChangeDir : S:='Choose a new default directory';
  90. hcDOSShell : S:='Temporarily exit to DOS';
  91. hcQuit : S:='Exit the IDE';
  92. hcRecentFileBase..hcRecentFileBase+10
  93. : S:='Open indicated file in a new editor window';
  94. hcEditMenu : S:='Clipboard editing commands';
  95. hcUndo : S:='Undo the previous editor operation';
  96. hcRedo : S:='Redo the previously undone editor operation';
  97. hcCut : S:='Remove the selected text and put it in the clipboard';
  98. hcCopy : S:='Copy the selected text in the clipboard';
  99. hcPaste : S:='Insert selected text from the clipboard at the cursor position';
  100. hcCopyWin : S:='Copy the selected text in windows clipboard';
  101. hcPasteWin : S:='Insert selected text from windows clipboard at the cursor position';
  102. hcClear : S:='Delete the selected text';
  103. hcShowClipboard : S:='Open then clipboard window';
  104. hcSearchMenu : S:='Text and symbols search commands';
  105. hcFind : S:='Search for text';
  106. hcReplace : S:='Search for text and replace it with new text';
  107. hcSearchAgain : S:='Repeat the last Search or Replace command';
  108. hcGotoLine : S:='Move the cursor to a specified line number';
  109. hcObjects : S:='Open a browser displaying all objects in the program';
  110. hcModules : S:='Open a browser displaying all modules of the program';
  111. hcGlobals : S:='Open a browser displaying all global symbols in the program';
  112. hcSymbol : S:='Open a browser a current word (not yet scope sensitive)';
  113. hcRunMenu : S:='Execution and parameters';
  114. hcRun : S:='Run the current program';
  115. hcParameters : S:='Set command-line parameters passed to program at execution';
  116. hcResetDebugger : S:='Reset Program';
  117. hcContToCursor : S:='Go on until Cursor position';
  118. hcUntilReturn : S:='Go on until end of current function';
  119. hcUserScreen : S:='Switch to the full-screen user output';
  120. hcCompileMenu : S:='Compile, build & make';
  121. hcCompile : S:='Compile the current source file';
  122. hcMake : S:='Rebuild source file and all other files that have been modified';
  123. hcBuild : S:='Rebuild program and all available source files';
  124. hcTarget : S:='Select target platform to compile for';
  125. hcPrimaryFile : S:='Define then file that is the focus of Make and Build';
  126. hcClearPrimary : S:='Clear the file previously set to Primary';
  127. hcInformation : S:='Show compiler messages and program information';
  128. hcCompilerMessages:S:='Show compiler messages window';
  129. hcDebugMenu : S:='Debug Program';
  130. hcToggleBreakpoint : S:='Toggles Breakpoint';
  131. hcNewBreakpoint : S:='Create a new breakpoint';
  132. hcEditBreakpoint : S:='Edit focused breakpoint';
  133. hcDeleteBreakpoint : S:='Delete focused breakpoint';
  134. hcOpenGDBWindow : S:='Open direct window to GDB';
  135. hcAddWatch : S:='Add a new expression to watch';
  136. hcWatches : S:='Open the Watches Window';
  137. hcStack : S:='Show call stack';
  138. hcBreakpointList : S:='Edit breakpoints';
  139. hcToolsMenu : S:='User installed tools';
  140. hcCalculator : S:='Show calculator';
  141. hcGrep : S:='Run grep';
  142. hcMsgGotoSource : S:='Edit source';
  143. hcRegisters : S:='Open the Registers Window';
  144. hcToolsMessages : S:='Open the message window';
  145. hcToolsBase..
  146. hcToolsBase+MaxToolCount
  147. : S:='User installed tool';
  148. hcASCIITable : S:='Show ASCII table';
  149. hcOptionsMenu : S:='Setting for compiler, editor, mouse, etc.';
  150. hcSwitchesMode : S:='Select settings for normal, debug or release version';
  151. hcCompiler : S:='Set default compiler directives and conditional defines';
  152. hcMemorySizes : S:='Set default stack and heap sizes for generated programs';
  153. hcLinker : S:='Set linker options';
  154. hcDebugger : S:='Set debug information options';
  155. hcDirectories : S:='Set paths for units, include, object and generated files';
  156. hcBrowser : S:='Specify global browser settings';
  157. hcTools : S:='Create or change tools';
  158. hcEnvironmentMenu:S:='Specify environment settins';
  159. hcPreferences : S:='Specify desktop settings';
  160. hcEditor : S:='Specify default editor settings';
  161. hcMouse : S:='Specify mouse settings';
  162. hcDesktopOptions: S:='Specify desktop settings';
  163. hcStartup : S:='Permanently change default startup options';
  164. hcColors : S:='Customize IDE colors for windows, menus, editors, etc.';
  165. hcOpenINI : S:='Load a previously saved options file';
  166. hcSaveINI : S:='Save all the changes made in the options menu';
  167. hcSaveAsINI : S:='Save all the changes made under a different name';
  168. hcWindowMenu : S:='Windows managment commands';
  169. hcTile : S:='Arrange windows on desktop by tiling';
  170. hcCascade : S:='Arrange windows on desktop by cascading';
  171. hcCloseAll : S:='Close all windows on the desktop';
  172. hcResize : S:='Change the size/postion of the active window';
  173. hcZoom : S:='Enlarge or restore the size of the active window';
  174. hcNext : S:='Make the next window active';
  175. hcPrev : S:='Make the previous window active';
  176. hcClose : S:='Close the active window';
  177. hcWindowList : S:='Show a list of all open windows';
  178. hcUserScreenWindow:S:='Show contents of user screen in a window';
  179. hcHelpMenu : S:='Get online help';
  180. hcHelpContents : S:='Show table of contents for Online Help';
  181. hcHelpIndex : S:='Show index for Online Help';
  182. hcHelpTopicSearch:S:='Display help on the word at cursor';
  183. hcHelpPrevTopic : S:='Redisplay the last-viewed Online Help screen';
  184. hcHelpUsingHelp : S:='How to use Online Help';
  185. hcHelpFiles : S:='Install or remove installed help files';
  186. hcOpenAtCursor : S:='Attempt to open the file indicated by the word at cursor';
  187. hcBrowseAtCursor: S:='Attempt to browse the symbol at cursor';
  188. hcEditorOptions : S:='Specify editor settings';
  189. else S:='???';
  190. end;
  191. Hint:=S;
  192. end;
  193. procedure InitHelpSystem;
  194. procedure AddOAFile(HelpFile: string);
  195. begin
  196. {$IFDEF DEBUG}SetStatus(strLoadingHelp+' ('+SmartPath(HelpFile)+')');{$ENDIF}
  197. HelpFacility^.AddOAHelpFile(HelpFile);
  198. {$IFDEF DEBUG}SetStatus(strLoadingHelp);{$ENDIF}
  199. end;
  200. procedure AddHTMLFile(TOCEntry,HelpFile: string);
  201. begin
  202. {$IFDEF DEBUG}SetStatus(strLoadingHelp+' ('+SmartPath(HelpFile)+')');{$ENDIF}
  203. HelpFacility^.AddHTMLHelpFile(HelpFile, TOCEntry);
  204. {$IFDEF DEBUG}SetStatus(strLoadingHelp);{$ENDIF}
  205. end;
  206. var I,P: sw_integer;
  207. S: string;
  208. TopicTitle: string;
  209. begin
  210. New(HelpFacility, Init);
  211. PushStatus(strLoadingHelp);
  212. { AddHTMLFile('User''s guide','C:\FP\USER\USER.HTM');}
  213. for I:=0 to HelpFiles^.Count-1 do
  214. begin
  215. S:=HelpFiles^.At(I)^; TopicTitle:='';
  216. P:=Pos('|',S);
  217. if P>0 then
  218. begin TopicTitle:=copy(S,P+1,255); S:=copy(S,1,P-1); end;
  219. if TopicTitle='' then TopicTitle:=S;
  220. if copy(UpcaseStr(ExtOf(S)),1,4)='.HTM' then { this recognizes both .htm and .html }
  221. AddHTMLFile(TopicTitle,S)
  222. else
  223. AddOAFile(S);
  224. end;
  225. PopStatus;
  226. end;
  227. procedure CheckHelpSystem;
  228. begin
  229. if HelpInited then Exit;
  230. InitHelpSystem;
  231. HelpInited:=true;
  232. end;
  233. procedure DoneHelpSystem;
  234. begin
  235. if assigned(HelpFacility) then
  236. begin
  237. Dispose(HelpFacility, Done);
  238. HelpFacility:=nil;
  239. end;
  240. HelpInited:=false;
  241. end;
  242. procedure HelpCreateWindow;
  243. var R: TRect;
  244. begin
  245. CheckHelpSystem;
  246. if HelpWindow=nil then
  247. begin
  248. Desktop^.GetExtent(R); R.Grow(-15,-3); Dec(R.A.Y);
  249. New(HelpWindow, Init(R, 'Help', 0, 0, SearchFreeWindowNo));
  250. if HelpWindow<>nil then
  251. begin
  252. HelpWindow^.Hide;
  253. Desktop^.Insert(HelpWindow);
  254. end;
  255. end;
  256. end;
  257. procedure Help(FileID, Context: THelpCtx; Modal: boolean);
  258. begin
  259. if Modal then
  260. begin MessageBox('Sorry, modal help not yet implemented.',nil,mfInformation+mfInsertInApp+mfOKButton); Exit; end;
  261. HelpCreateWindow;
  262. with HelpWindow^ do
  263. begin
  264. HelpWindow^.ShowTopic(0,Context);
  265. if GetState(sfVisible)=false then Show;
  266. MakeFirst;
  267. end;
  268. Message(Application,evCommand,cmUpdate,nil);
  269. end;
  270. procedure HelpTopicSearch(Editor: PEditor);
  271. var S: string;
  272. begin
  273. if Editor=nil then S:='' else
  274. S:=GetEditorCurWord(Editor);
  275. HelpTopic(S);
  276. end;
  277. procedure HelpTopic(const S: string);
  278. var FileID: word;
  279. Ctx : THelpCtx;
  280. var Found: boolean;
  281. begin
  282. CheckHelpSystem;
  283. PushStatus(strLocatingTopic);
  284. Found:=HelpFacility^.TopicSearch(S,FileID,Ctx);
  285. PopStatus;
  286. if Found then
  287. Help(FileID,Ctx,false)
  288. else
  289. HelpIndex(S);
  290. end;
  291. procedure HelpIndex(Keyword: string);
  292. begin
  293. HelpCreateWindow;
  294. with HelpWindow^ do
  295. begin
  296. PushStatus(strBuildingHelpIndex);
  297. HelpWindow^.ShowIndex;
  298. if Keyword<>'' then
  299. HelpWindow^.HelpView^.Lookup(Keyword);
  300. PopStatus;
  301. if GetState(sfVisible)=false then Show;
  302. MakeFirst;
  303. end;
  304. Message(Application,evCommand,cmUpdate,nil);
  305. end;
  306. procedure PushStatus(S: string);
  307. begin
  308. if StatusLine=nil then
  309. Exit;
  310. If StatusStackPtr<=MaxStatusLevel then
  311. StatusStack[StatusStackPtr]:=PAdvancedStatusLine(StatusLine)^.GetStatusText
  312. else
  313. StatusStack[MaxStatusLevel]:=PAdvancedStatusLine(StatusLine)^.GetStatusText;
  314. SetStatus(S);
  315. Inc(StatusStackPtr);
  316. end;
  317. procedure PopStatus;
  318. begin
  319. if StatusLine=nil then
  320. Exit;
  321. Dec(StatusStackPtr);
  322. If StatusStackPtr<=MaxStatusLevel then
  323. SetStatus(StatusStack[StatusStackPtr])
  324. else
  325. SetStatus(StatusStack[MaxStatusLevel]);
  326. end;
  327. procedure SetStatus(S: string);
  328. begin
  329. if StatusLine=nil then
  330. Exit;
  331. PAdvancedStatusLine(StatusLine)^.SetStatusText(S);
  332. end;
  333. procedure ClearStatus;
  334. begin
  335. PAdvancedStatusLine(StatusLine)^.ClearStatusText;
  336. end;
  337. procedure InitHelpFiles;
  338. begin
  339. New(HelpFiles, Init(10,10));
  340. end;
  341. procedure DoneHelpFiles;
  342. begin
  343. if assigned(HelpFiles) then
  344. Dispose(HelpFiles, Done);
  345. end;
  346. procedure CloseHelpWindows;
  347. procedure CloseIfHelpWindow(P: PView); {$ifndef FPC}far;{$endif}
  348. begin
  349. if P^.HelpCtx=hcHelpWindow then
  350. begin
  351. Message(P,evCommand,cmClose,nil);
  352. Dispose(P, Done); { help windows are only hidden on close so we've
  353. to destroy them manually }
  354. end;
  355. end;
  356. begin
  357. Desktop^.ForEach(@CloseIfHelpWindow);
  358. end;
  359. END.
  360. {
  361. $Log$
  362. Revision 1.26 2000-01-08 18:26:20 florian
  363. + added a register window, doesn't work yet
  364. Revision 1.25 2000/01/05 17:25:26 pierre
  365. * typo error corrected
  366. Revision 1.24 2000/01/03 11:38:33 michael
  367. Changes from Gabor
  368. Revision 1.23 1999/09/09 16:31:45 pierre
  369. * some breakpoint related fixes and Help contexts
  370. Revision 1.22 1999/09/09 14:15:27 pierre
  371. + cmCopyWin,cmPasteWin
  372. Revision 1.21 1999/08/16 18:25:17 peter
  373. * Adjusting the selection when the editor didn't contain any line.
  374. * Reserved word recognition redesigned, but this didn't affect the overall
  375. syntax highlight speed remarkably (at least not on my Amd-K6/350).
  376. The syntax scanner loop is a bit slow but the main problem is the
  377. recognition of special symbols. Switching off symbol processing boosts
  378. the performance up to ca. 200%...
  379. * The editor didn't allow copying (for ex to clipboard) of a single character
  380. * 'File|Save as' caused permanently run-time error 3. Not any more now...
  381. * Compiler Messages window (actually the whole desktop) did not act on any
  382. keypress when compilation failed and thus the window remained visible
  383. + Message windows are now closed upon pressing Esc
  384. + At 'Run' the IDE checks whether any sources are modified, and recompiles
  385. only when neccessary
  386. + BlockRead and BlockWrite (Ctrl+K+R/W) implemented in TCodeEditor
  387. + LineSelect (Ctrl+K+L) implemented
  388. * The IDE had problems closing help windows before saving the desktop
  389. Revision 1.20 1999/08/03 20:22:31 peter
  390. + TTab acts now on Ctrl+Tab and Ctrl+Shift+Tab...
  391. + Desktop saving should work now
  392. - History saved
  393. - Clipboard content saved
  394. - Desktop saved
  395. - Symbol info saved
  396. * syntax-highlight bug fixed, which compared special keywords case sensitive
  397. (for ex. 'asm' caused asm-highlighting, while 'ASM' didn't)
  398. * with 'whole words only' set, the editor didn't found occourences of the
  399. searched text, if the text appeared previously in the same line, but didn't
  400. satisfied the 'whole-word' condition
  401. * ^QB jumped to (SelStart.X,SelEnd.X) instead of (SelStart.X,SelStart.Y)
  402. (ie. the beginning of the selection)
  403. * when started typing in a new line, but not at the start (X=0) of it,
  404. the editor inserted the text one character more to left as it should...
  405. * TCodeEditor.HideSelection (Ctrl-K+H) didn't update the screen
  406. * Shift shouldn't cause so much trouble in TCodeEditor now...
  407. * Syntax highlight had problems recognizing a special symbol if it was
  408. prefixed by another symbol character in the source text
  409. * Auto-save also occours at Dos shell, Tool execution, etc. now...
  410. Revision 1.19 1999/07/12 13:14:17 pierre
  411. * LineEnd bug corrected, now goes end of text even if selected
  412. + Until Return for debugger
  413. + Code for Quit inside GDB Window
  414. Revision 1.18 1999/07/10 01:24:16 pierre
  415. + First implementation of watches window
  416. Revision 1.17 1999/06/30 23:58:14 pierre
  417. + BreakpointsList Window implemented
  418. with Edit/New/Delete functions
  419. + Individual breakpoint dialog with support for all types
  420. ignorecount and conditions
  421. (commands are not yet implemented, don't know if this wolud be useful)
  422. awatch and rwatch have problems because GDB does not annotate them
  423. I fixed v4.16 for this
  424. Revision 1.16 1999/06/28 19:32:19 peter
  425. * fixes from gabor
  426. Revision 1.15 1999/06/25 00:39:58 pierre
  427. help for cmSymbol,cmAddWatch,cmStack and cmBreakpoint list
  428. Revision 1.14 1999/04/07 21:55:46 peter
  429. + object support for browser
  430. * html help fixes
  431. * more desktop saving things
  432. * NODEBUG directive to exclude debugger
  433. Revision 1.13 1999/03/23 15:11:28 peter
  434. * desktop saving things
  435. * vesa mode
  436. * preferences dialog
  437. Revision 1.12 1999/03/16 12:38:09 peter
  438. * tools macro fixes
  439. + tph writer
  440. + first things for resource files
  441. Revision 1.11 1999/03/01 15:41:53 peter
  442. + Added dummy entries for functions not yet implemented
  443. * MenuBar didn't update itself automatically on command-set changes
  444. * Fixed Debugging/Profiling options dialog
  445. * TCodeEditor converts spaces to tabs at save only if efUseTabChars is set
  446. * efBackSpaceUnindents works correctly
  447. + 'Messages' window implemented
  448. + Added '$CAP MSG()' and '$CAP EDIT' to available tool-macros
  449. + Added TP message-filter support (for ex. you can call GREP thru
  450. GREP2MSG and view the result in the messages window - just like in TP)
  451. * A 'var' was missing from the param-list of THelpFacility.TopicSearch,
  452. so topic search didn't work...
  453. * In FPHELP.PAS there were still context-variables defined as word instead
  454. of THelpCtx
  455. * StdStatusKeys() was missing from the statusdef for help windows
  456. + Topic-title for index-table can be specified when adding a HTML-files
  457. Revision 1.10 1999/02/22 11:51:35 peter
  458. * browser updates from gabor
  459. Revision 1.9 1999/02/19 18:43:45 peter
  460. + open dialog supports mask list
  461. Revision 1.8 1999/02/11 19:07:21 pierre
  462. * GDBWindow redesigned :
  463. normal editor apart from
  464. that any kbEnter will send the line (for begin to cursor)
  465. to GDB command !
  466. GDBWindow opened in Debugger Menu
  467. still buggy :
  468. -echo should not be present if at end of text
  469. -GDBWindow becomes First after each step (I don't know why !)
  470. Revision 1.7 1999/02/08 17:40:01 pierre
  471. + cmContToCursor added
  472. Revision 1.6 1999/02/08 10:37:43 peter
  473. + html helpviewer
  474. Revision 1.5 1999/02/04 12:23:44 pierre
  475. + cmResetDebugger and cmGrep
  476. * Avoid StatusStack overflow
  477. Revision 1.4 1999/01/21 11:54:13 peter
  478. + tools menu
  479. + speedsearch in symbolbrowser
  480. * working run command
  481. Revision 1.3 1999/01/04 11:49:44 peter
  482. * 'Use tab characters' now works correctly
  483. + Syntax highlight now acts on File|Save As...
  484. + Added a new class to syntax highlight: 'hex numbers'.
  485. * There was something very wrong with the palette managment. Now fixed.
  486. + Added output directory (-FE<xxx>) support to 'Directories' dialog...
  487. * Fixed some possible bugs in Running/Compiling, and the compilation/run
  488. process revised
  489. Revision 1.2 1998/12/28 15:47:44 peter
  490. + Added user screen support, display & window
  491. + Implemented Editor,Mouse Options dialog
  492. + Added location of .INI and .CFG file
  493. + Option (INI) file managment implemented (see bottom of Options Menu)
  494. + Switches updated
  495. + Run program
  496. Revision 1.3 1998/12/22 10:39:42 peter
  497. + options are now written/read
  498. + find and replace routines
  499. }