fphelp.pas 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  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,WCEdit,
  21. {$endif}
  22. WViews,WHTMLScn,
  23. FPViews;
  24. type
  25. PIDEStatusLine = ^TIDEStatusLine;
  26. TIDEStatusLine = object(TAdvancedStatusLine)
  27. function Hint(AHelpCtx: Word): String; virtual;
  28. procedure HandleEvent(var Event: TEvent); virtual;
  29. end;
  30. PFPHTMLFileLinkScanner = ^TFPHTMLFileLinkScanner;
  31. TFPHTMLFileLinkScanner = object(THTMLFileLinkScanner)
  32. function CheckURL(const URL: string): boolean; virtual;
  33. function CheckText(const Text: string): boolean; virtual;
  34. procedure ProcessDoc(Doc: PHTMLLinkScanFile); virtual;
  35. end;
  36. procedure Help(FileID, Context: THelpCtx; Modal: boolean);
  37. procedure HelpIndex(Keyword: string);
  38. procedure HelpTopicSearch(Editor: PEditor);
  39. procedure HelpTopic(const S: string);
  40. procedure CloseHelpWindows;
  41. procedure InitHelpSystem;
  42. procedure DoneHelpSystem;
  43. procedure InitHelpFiles;
  44. procedure DoneHelpFiles;
  45. procedure PushStatus(S: string);
  46. procedure SetStatus(S: string);
  47. procedure ClearStatus;
  48. procedure PopStatus;
  49. const
  50. HelpWindow : PFPHelpWindow = nil;
  51. HelpInited : boolean = false;
  52. implementation
  53. uses Objects,Views,App,MsgBox,Commands,
  54. WUtils,WHTMLHlp,
  55. FPString,FPConst,FPVars,FPUtils;
  56. const
  57. MaxStatusLevel = {$ifdef FPC}10{$else}1{$endif};
  58. var StatusStack : array[0..MaxStatusLevel] of string[MaxViewWidth];
  59. const
  60. StatusStackPtr : integer = 0;
  61. procedure TIDEStatusLine.HandleEvent(var Event: TEvent);
  62. begin
  63. case Event.What of
  64. evBroadcast :
  65. case Event.Command of
  66. cmUpdate : Update;
  67. end;
  68. end;
  69. inherited HandleEvent(Event);
  70. end;
  71. function TIDEStatusLine.Hint(AHelpCtx: Word): String;
  72. var S: string;
  73. begin
  74. case AHelpCtx of
  75. hcNoContext : S:='';
  76. hcSourceWindow : S:='';
  77. hcHelpWindow : S:='';
  78. hcCalcWindow : S:='';
  79. hcInfoWindow : S:='';
  80. hcClipboardWindow:S:='';
  81. hcBrowserWindow : S:='';
  82. hcMessagesWindow: S:='';
  83. hcASCIITableWindow: S:='';
  84. hcGDBWindow : S:=hint_rawgdbwindow;
  85. hcBreakpointListWindow : S:=hint_allbreakpoints;
  86. hcSystemMenu : S:=hint_systemmenu;
  87. hcUpdate : S:=hint_update;
  88. hcAbout : S:=hint_about;
  89. hcFileMenu : S:=hint_filemenu;
  90. hcNew : S:=hint_filenew;
  91. hcNewFromTemplate:S:=hint_filenewfromtemplate;
  92. hcOpen : S:=hint_fileopen;
  93. hcSave : S:=hint_filesave;
  94. hcSaveAs : S:=hint_filesaveas;
  95. hcSaveAll : S:=hint_filesaveall;
  96. hcChangeDir : S:=hint_changedir;
  97. hcDOSShell : S:=hint_dosshell;
  98. hcQuit : S:=hint_exit;
  99. hcRecentFileBase..hcRecentFileBase+10
  100. : S:=hint_openrecentfile;
  101. hcEditMenu : S:=hint_editmenu;
  102. hcUndo : S:=hint_editundo;
  103. hcRedo : S:=hint_editredo;
  104. hcCut : S:=hint_editcut;
  105. hcCopy : S:=hint_editcopy;
  106. hcPaste : S:=hint_editpaste;
  107. hcCopyWin : S:=hint_editcopywin;
  108. hcPasteWin : S:=hint_editpastewin;
  109. hcClear : S:=hint_editclear;
  110. hcShowClipboard : S:=hint_showclipboard;
  111. hcSearchMenu : S:=hint_searchmenu;
  112. hcFind : S:=hint_searchfind;
  113. hcReplace : S:=hint_searchreplace;
  114. hcSearchAgain : S:=hint_searchagain;
  115. hcGotoLine : S:=hint_gotoline;
  116. hcObjects : S:=hint_objects;
  117. hcModules : S:=hint_modules;
  118. hcGlobals : S:=hint_globals;
  119. hcSymbol : S:=hint_symbol;
  120. hcRunMenu : S:=hint_runmenu;
  121. hcRun : S:=hint_run;
  122. hcParameters : S:=hint_runparameters;
  123. hcResetDebugger : S:=hint_resetprogram;
  124. hcContToCursor : S:=hint_rununtilcursor;
  125. hcUntilReturn : S:=hint_rununtilreturn;
  126. hcUserScreen : S:=hint_userscreen;
  127. hcCompileMenu : S:=hint_compilemenu;
  128. hcCompile : S:=hint_compile;
  129. hcMake : S:=hint_make;
  130. hcBuild : S:=hint_build;
  131. hcTarget : S:=hint_target;
  132. hcPrimaryFile : S:=hint_primaryfile;
  133. hcClearPrimary : S:=hint_clearprimaryfile;
  134. hcInformation : S:=hint_information;
  135. hcCompilerMessages:S:=hint_showmessages;
  136. hcDebugMenu : S:=hint_debugmenu;
  137. hcToggleBreakpoint : S:=hint_togglebreakpoint;
  138. hcNewBreakpoint : S:=hint_createnewbreakpoint;
  139. hcEditBreakpoint : S:=hint_editbreakpoint;
  140. hcDeleteBreakpoint : S:=hint_deletebreakpoint;
  141. hcOpenGDBWindow : S:=hint_opengdbwindow;
  142. hcAddWatch : S:=hint_addwatch;
  143. hcWatches : S:=hint_watches;
  144. hcStack : S:=hint_callstack;
  145. hcBreakpointList : S:=hint_editbreakpoints;
  146. hcToolsMenu : S:=hint_toolsmenu;
  147. hcCalculator : S:=hint_calculator;
  148. hcGrep : S:=hint_grep;
  149. hcMsgGotoSource : S:=hint_gotosource;
  150. hcRegisters : S:=hint_registers;
  151. hcToolsMessages : S:=hint_messageswindow;
  152. hcToolsBase..
  153. hcToolsBase+MaxToolCount
  154. : S:=hint_usertool;
  155. hcASCIITable : S:=hint_asciitable;
  156. hcOptionsMenu : S:=hint_optionsmenu;
  157. hcSwitchesMode : S:=hint_switchesmode;
  158. hcCompiler : S:=hint_compiler;
  159. hcMemorySizes : S:=hint_memorysizes;
  160. hcLinker : S:=hint_linkeroptions;
  161. hcDebugger : S:=hint_debugoptions;
  162. hcDirectories : S:=hint_directories;
  163. hcBrowser : S:=hint_browser;
  164. hcTools : S:=hint_tools;
  165. hcEnvironmentMenu:S:=hint_environmentmenu;
  166. hcPreferences : S:=hint_preferences;
  167. hcEditor : S:=hint_editoroptions;
  168. hcCodeCompleteOptions:S:=hint_codecomplete;
  169. hcCodeTemplateOptions:S:=hint_codetemplates;
  170. hcMouse : S:=hint_mouseoptions;
  171. hcDesktopOptions: S:=hint_desktopoptions;
  172. hcStartup : S:=hint_startup;
  173. hcColors : S:=hint_colors;
  174. hcOpenINI : S:=hint_openini;
  175. hcSaveINI : S:=hint_saveini;
  176. hcSaveAsINI : S:=hint_saveasini;
  177. hcWindowMenu : S:=hint_windowmenu;
  178. hcTile : S:=hint_tile;
  179. hcCascade : S:=hint_cascade;
  180. hcCloseAll : S:=hint_closeall;
  181. hcResize : S:=hint_resize;
  182. hcZoom : S:=hint_zoom;
  183. hcNext : S:=hint_next;
  184. hcPrev : S:=hint_prev;
  185. hcClose : S:=hint_closewindow;
  186. hcWindowList : S:=hint_windowlist;
  187. hcUserScreenWindow:S:=hint_userscreenwindow;
  188. hcHelpMenu : S:=hint_helpmenu;
  189. hcHelpContents : S:=hint_helpcontents;
  190. hcHelpIndex : S:=hint_helpindex;
  191. hcHelpTopicSearch:S:=hint_helptopicsearch;
  192. hcHelpPrevTopic : S:=hint_helpprevtopic;
  193. hcHelpUsingHelp : S:=hint_helphowtouse;
  194. hcHelpFiles : S:=hint_helpfiles;
  195. hcOpenAtCursor : S:=hint_openatcursor;
  196. hcBrowseAtCursor: S:=hint_browseatcursor;
  197. hcEditorOptions : S:=hint_editoroptionscur;
  198. else S:='???';
  199. end;
  200. Hint:=S;
  201. end;
  202. procedure TFPHTMLFileLinkScanner.ProcessDoc(Doc: PHTMLLinkScanFile);
  203. begin
  204. PushStatus(FormatStrStr(msg_indexingfile,Doc^.GetDocumentURL));
  205. inherited ProcessDoc(Doc);
  206. PopStatus;
  207. end;
  208. function TFPHTMLFileLinkScanner.CheckURL(const URL: string): boolean;
  209. var OK: boolean;
  210. const HTTPPrefix = 'http:';
  211. FTPPrefix = 'ftp:';
  212. begin
  213. OK:=inherited CheckURL(URL);
  214. if OK then OK:=DirAndNameOf(URL)<>'';
  215. if OK then OK:=CompareText(copy(ExtOf(URL),1,4),'.HTM')=0;
  216. if OK then OK:=CompareText(copy(URL,1,length(HTTPPrefix)),HTTPPrefix)<>0;
  217. if OK then OK:=CompareText(copy(URL,1,length(FTPPrefix)),FTPPrefix)<>0;
  218. CheckURL:=OK;
  219. end;
  220. function TFPHTMLFileLinkScanner.CheckText(const Text: string): boolean;
  221. var OK: boolean;
  222. S: string;
  223. begin
  224. S:=Trim(Text);
  225. OK:=(S<>'') and (copy(S,1,1)<>'[');
  226. CheckText:=OK;
  227. end;
  228. procedure InitHelpSystem;
  229. procedure AddOAFile(HelpFile: string);
  230. begin
  231. {$IFDEF DEBUG}SetStatus(msg_LoadingHelpFile+' ('+SmartPath(HelpFile)+')');{$ENDIF}
  232. HelpFacility^.AddOAHelpFile(HelpFile);
  233. {$IFDEF DEBUG}SetStatus(msg_LoadingHelpFile);{$ENDIF}
  234. end;
  235. procedure AddHTMLFile(TOCEntry,HelpFile: string);
  236. begin
  237. {$IFDEF DEBUG}SetStatus(msg_LoadingHelpFile+' ('+SmartPath(HelpFile)+')');{$ENDIF}
  238. HelpFacility^.AddHTMLHelpFile(HelpFile, TOCEntry);
  239. {$IFDEF DEBUG}SetStatus(msg_LoadingHelpFile);{$ENDIF}
  240. end;
  241. procedure AddHTMLIndexFile(HelpFile: string);
  242. begin
  243. {$IFDEF DEBUG}SetStatus(msg_LoadingHelpFile+' ('+SmartPath(HelpFile)+')');{$ENDIF}
  244. HelpFacility^.AddHTMLIndexHelpFile(HelpFile);
  245. {$IFDEF DEBUG}SetStatus(msg_LoadingHelpFile);{$ENDIF}
  246. end;
  247. var I,P: sw_integer;
  248. S: string;
  249. TopicTitle: string;
  250. begin
  251. New(HelpFacility, Init);
  252. PushStatus(msg_LoadingHelpFiles);
  253. for I:=0 to HelpFiles^.Count-1 do
  254. begin
  255. S:=HelpFiles^.At(I)^; TopicTitle:='';
  256. P:=Pos('|',S);
  257. if P>0 then
  258. begin TopicTitle:=copy(S,P+1,255); S:=copy(S,1,P-1); end;
  259. if TopicTitle='' then TopicTitle:=S;
  260. if copy(UpcaseStr(ExtOf(S)),1,length(HTMLExt))=HTMLExt then { this recognizes both .htm and .html }
  261. AddHTMLFile(TopicTitle,S) else
  262. if UpcaseStr(ExtOf(S))=UpcaseStr(HTMLIndexExt) then
  263. AddHTMLIndexFile(S) else
  264. AddOAFile(S);
  265. end;
  266. PopStatus;
  267. end;
  268. procedure CheckHelpSystem;
  269. begin
  270. if HelpInited then Exit;
  271. InitHelpSystem;
  272. HelpInited:=true;
  273. end;
  274. procedure DoneHelpSystem;
  275. begin
  276. if assigned(HelpFacility) then
  277. begin
  278. Dispose(HelpFacility, Done);
  279. HelpFacility:=nil;
  280. end;
  281. HelpInited:=false;
  282. end;
  283. procedure HelpCreateWindow;
  284. var R: TRect;
  285. begin
  286. CheckHelpSystem;
  287. if HelpWindow=nil then
  288. begin
  289. Desktop^.GetExtent(R); R.Grow(-15,-3); Dec(R.A.Y);
  290. New(HelpWindow, Init(R, dialog_help, 0, 0, SearchFreeWindowNo));
  291. if HelpWindow<>nil then
  292. begin
  293. HelpWindow^.Hide;
  294. Desktop^.Insert(HelpWindow);
  295. end;
  296. end;
  297. end;
  298. procedure Help(FileID, Context: THelpCtx; Modal: boolean);
  299. begin
  300. if Modal then
  301. begin MessageBox(msg_modalhelpnotimplemented,nil,mfInformation+mfInsertInApp+mfOKButton); Exit; end;
  302. HelpCreateWindow;
  303. with HelpWindow^ do
  304. begin
  305. HelpWindow^.ShowTopic(0,Context);
  306. if GetState(sfVisible)=false then Show;
  307. MakeFirst;
  308. end;
  309. Message(Application,evCommand,cmUpdate,nil);
  310. end;
  311. procedure HelpTopicSearch(Editor: PEditor);
  312. var S: string;
  313. begin
  314. if Editor=nil then S:='' else
  315. S:=GetEditorCurWord(Editor);
  316. HelpTopic(S);
  317. end;
  318. procedure HelpTopic(const S: string);
  319. var FileID: word;
  320. Ctx : THelpCtx;
  321. var Found: boolean;
  322. begin
  323. CheckHelpSystem;
  324. PushStatus(msg_LocatingTopic);
  325. Found:=HelpFacility^.TopicSearch(S,FileID,Ctx);
  326. PopStatus;
  327. if Found then
  328. Help(FileID,Ctx,false)
  329. else
  330. HelpIndex(S);
  331. end;
  332. procedure HelpIndex(Keyword: string);
  333. begin
  334. HelpCreateWindow;
  335. with HelpWindow^ do
  336. begin
  337. PushStatus(msg_BuildingHelpIndex);
  338. HelpWindow^.ShowIndex;
  339. if Keyword<>'' then
  340. HelpWindow^.HelpView^.Lookup(Keyword);
  341. PopStatus;
  342. if GetState(sfVisible)=false then Show;
  343. MakeFirst;
  344. end;
  345. Message(Application,evCommand,cmUpdate,nil);
  346. end;
  347. procedure PushStatus(S: string);
  348. begin
  349. if StatusLine=nil then
  350. Exit;
  351. If StatusStackPtr<=MaxStatusLevel then
  352. StatusStack[StatusStackPtr]:=PAdvancedStatusLine(StatusLine)^.GetStatusText
  353. else
  354. StatusStack[MaxStatusLevel]:=PAdvancedStatusLine(StatusLine)^.GetStatusText;
  355. SetStatus(S);
  356. Inc(StatusStackPtr);
  357. end;
  358. procedure PopStatus;
  359. begin
  360. if StatusLine=nil then
  361. Exit;
  362. Dec(StatusStackPtr);
  363. If StatusStackPtr<=MaxStatusLevel then
  364. SetStatus(StatusStack[StatusStackPtr])
  365. else
  366. SetStatus(StatusStack[MaxStatusLevel]);
  367. end;
  368. procedure SetStatus(S: string);
  369. begin
  370. if StatusLine=nil then
  371. Exit;
  372. PAdvancedStatusLine(StatusLine)^.SetStatusText(S);
  373. end;
  374. procedure ClearStatus;
  375. begin
  376. PAdvancedStatusLine(StatusLine)^.ClearStatusText;
  377. end;
  378. procedure InitHelpFiles;
  379. begin
  380. New(HelpFiles, Init(10,10));
  381. end;
  382. procedure DoneHelpFiles;
  383. begin
  384. if assigned(HelpFiles) then
  385. Dispose(HelpFiles, Done);
  386. end;
  387. procedure CloseHelpWindows;
  388. procedure CloseIfHelpWindow(P: PView); {$ifndef FPC}far;{$endif}
  389. begin
  390. if P^.HelpCtx=hcHelpWindow then
  391. begin
  392. Message(P,evCommand,cmClose,nil);
  393. Dispose(P, Done); { help windows are only hidden on close so we've
  394. to destroy them manually }
  395. end;
  396. end;
  397. begin
  398. Desktop^.ForEach(@CloseIfHelpWindow);
  399. end;
  400. END.
  401. {
  402. $Log$
  403. Revision 1.30 2000-05-02 08:42:27 pierre
  404. * new set of Gabor changes: see fixes.txt
  405. Revision 1.29 2000/04/25 08:42:33 pierre
  406. * New Gabor changes : see fixes.txt
  407. Revision 1.28 2000/03/21 23:31:14 pierre
  408. adapted to wcedit addition by Gabor
  409. Revision 1.27 2000/02/07 11:58:01 pierre
  410. Gabor's code inserted
  411. Revision 1.26 2000/01/08 18:26:20 florian
  412. + added a register window, doesn't work yet
  413. Revision 1.25 2000/01/05 17:25:26 pierre
  414. * typo error corrected
  415. Revision 1.24 2000/01/03 11:38:33 michael
  416. Changes from Gabor
  417. Revision 1.23 1999/09/09 16:31:45 pierre
  418. * some breakpoint related fixes and Help contexts
  419. Revision 1.22 1999/09/09 14:15:27 pierre
  420. + cmCopyWin,cmPasteWin
  421. Revision 1.21 1999/08/16 18:25:17 peter
  422. * Adjusting the selection when the editor didn't contain any line.
  423. * Reserved word recognition redesigned, but this didn't affect the overall
  424. syntax highlight speed remarkably (at least not on my Amd-K6/350).
  425. The syntax scanner loop is a bit slow but the main problem is the
  426. recognition of special symbols. Switching off symbol processing boosts
  427. the performance up to ca. 200%...
  428. * The editor didn't allow copying (for ex to clipboard) of a single character
  429. * 'File|Save as' caused permanently run-time error 3. Not any more now...
  430. * Compiler Messages window (actually the whole desktop) did not act on any
  431. keypress when compilation failed and thus the window remained visible
  432. + Message windows are now closed upon pressing Esc
  433. + At 'Run' the IDE checks whether any sources are modified, and recompiles
  434. only when neccessary
  435. + BlockRead and BlockWrite (Ctrl+K+R/W) implemented in TCodeEditor
  436. + LineSelect (Ctrl+K+L) implemented
  437. * The IDE had problems closing help windows before saving the desktop
  438. Revision 1.20 1999/08/03 20:22:31 peter
  439. + TTab acts now on Ctrl+Tab and Ctrl+Shift+Tab...
  440. + Desktop saving should work now
  441. - History saved
  442. - Clipboard content saved
  443. - Desktop saved
  444. - Symbol info saved
  445. * syntax-highlight bug fixed, which compared special keywords case sensitive
  446. (for ex. 'asm' caused asm-highlighting, while 'ASM' didn't)
  447. * with 'whole words only' set, the editor didn't found occourences of the
  448. searched text, if the text appeared previously in the same line, but didn't
  449. satisfied the 'whole-word' condition
  450. * ^QB jumped to (SelStart.X,SelEnd.X) instead of (SelStart.X,SelStart.Y)
  451. (ie. the beginning of the selection)
  452. * when started typing in a new line, but not at the start (X=0) of it,
  453. the editor inserted the text one character more to left as it should...
  454. * TCodeEditor.HideSelection (Ctrl-K+H) didn't update the screen
  455. * Shift shouldn't cause so much trouble in TCodeEditor now...
  456. * Syntax highlight had problems recognizing a special symbol if it was
  457. prefixed by another symbol character in the source text
  458. * Auto-save also occours at Dos shell, Tool execution, etc. now...
  459. Revision 1.19 1999/07/12 13:14:17 pierre
  460. * LineEnd bug corrected, now goes end of text even if selected
  461. + Until Return for debugger
  462. + Code for Quit inside GDB Window
  463. Revision 1.18 1999/07/10 01:24:16 pierre
  464. + First implementation of watches window
  465. Revision 1.17 1999/06/30 23:58:14 pierre
  466. + BreakpointsList Window implemented
  467. with Edit/New/Delete functions
  468. + Individual breakpoint dialog with support for all types
  469. ignorecount and conditions
  470. (commands are not yet implemented, don't know if this wolud be useful)
  471. awatch and rwatch have problems because GDB does not annotate them
  472. I fixed v4.16 for this
  473. Revision 1.16 1999/06/28 19:32:19 peter
  474. * fixes from gabor
  475. Revision 1.15 1999/06/25 00:39:58 pierre
  476. help for cmSymbol,cmAddWatch,cmStack and cmBreakpoint list
  477. Revision 1.14 1999/04/07 21:55:46 peter
  478. + object support for browser
  479. * html help fixes
  480. * more desktop saving things
  481. * NODEBUG directive to exclude debugger
  482. Revision 1.13 1999/03/23 15:11:28 peter
  483. * desktop saving things
  484. * vesa mode
  485. * preferences dialog
  486. Revision 1.12 1999/03/16 12:38:09 peter
  487. * tools macro fixes
  488. + tph writer
  489. + first things for resource files
  490. Revision 1.11 1999/03/01 15:41:53 peter
  491. + Added dummy entries for functions not yet implemented
  492. * MenuBar didn't update itself automatically on command-set changes
  493. * Fixed Debugging/Profiling options dialog
  494. * TCodeEditor converts spaces to tabs at save only if efUseTabChars is set
  495. * efBackSpaceUnindents works correctly
  496. + 'Messages' window implemented
  497. + Added '$CAP MSG()' and '$CAP EDIT' to available tool-macros
  498. + Added TP message-filter support (for ex. you can call GREP thru
  499. GREP2MSG and view the result in the messages window - just like in TP)
  500. * A 'var' was missing from the param-list of THelpFacility.TopicSearch,
  501. so topic search didn't work...
  502. * In FPHELP.PAS there were still context-variables defined as word instead
  503. of THelpCtx
  504. * StdStatusKeys() was missing from the statusdef for help windows
  505. + Topic-title for index-table can be specified when adding a HTML-files
  506. Revision 1.10 1999/02/22 11:51:35 peter
  507. * browser updates from gabor
  508. Revision 1.9 1999/02/19 18:43:45 peter
  509. + open dialog supports mask list
  510. Revision 1.8 1999/02/11 19:07:21 pierre
  511. * GDBWindow redesigned :
  512. normal editor apart from
  513. that any kbEnter will send the line (for begin to cursor)
  514. to GDB command !
  515. GDBWindow opened in Debugger Menu
  516. still buggy :
  517. -echo should not be present if at end of text
  518. -GDBWindow becomes First after each step (I don't know why !)
  519. Revision 1.7 1999/02/08 17:40:01 pierre
  520. + cmContToCursor added
  521. Revision 1.6 1999/02/08 10:37:43 peter
  522. + html helpviewer
  523. Revision 1.5 1999/02/04 12:23:44 pierre
  524. + cmResetDebugger and cmGrep
  525. * Avoid StatusStack overflow
  526. Revision 1.4 1999/01/21 11:54:13 peter
  527. + tools menu
  528. + speedsearch in symbolbrowser
  529. * working run command
  530. Revision 1.3 1999/01/04 11:49:44 peter
  531. * 'Use tab characters' now works correctly
  532. + Syntax highlight now acts on File|Save As...
  533. + Added a new class to syntax highlight: 'hex numbers'.
  534. * There was something very wrong with the palette managment. Now fixed.
  535. + Added output directory (-FE<xxx>) support to 'Directories' dialog...
  536. * Fixed some possible bugs in Running/Compiling, and the compilation/run
  537. process revised
  538. Revision 1.2 1998/12/28 15:47:44 peter
  539. + Added user screen support, display & window
  540. + Implemented Editor,Mouse Options dialog
  541. + Added location of .INI and .CFG file
  542. + Option (INI) file managment implemented (see bottom of Options Menu)
  543. + Switches updated
  544. + Run program
  545. Revision 1.3 1998/12/22 10:39:42 peter
  546. + options are now written/read
  547. + find and replace routines
  548. }