Changeset 43 for trunk/NewView/HelpFile.pas
- Timestamp:
- Jan 2, 2007, 8:29:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NewView/HelpFile.pas
r32 r43 156 156 uses 157 157 BseErr, 158 DebugUnit, 158 159 ACLStringUtility, 159 160 ACLFileIOUtility, 160 ACLProfile,161 161 ACLLanguageUnit; 162 162 … … 220 220 constructor THelpFile.Create( const FileName: string ); 221 221 begin 222 ProfileEvent( 'Helpfile Load: ' + FileName);222 LogEvent(LogParse, 'Helpfile Load: ' + FileName); 223 223 224 224 _FileName := FileName; … … 338 338 procedure THelpFile.ReadHeader; 339 339 begin 340 ProfileEvent( 'Read header');340 LogEvent(LogParse, 'Read header'); 341 341 342 342 ReadFileBlock( _pHeader, … … 371 371 pEnd: pTTOCEntryStart; 372 372 begin 373 ProfileEvent( 'Read contents');373 LogEvent(LogParse, 'Read contents'); 374 374 375 375 if _pHeader^.ntoc = 0 then … … 420 420 pEnd: pbyte; 421 421 begin 422 ProfileEvent( 'Read dictionary');422 LogEvent(LogParse, 'Read dictionary'); 423 423 424 424 if _pHeader^.ndict = 0 then … … 475 475 pIndexData: pointer; 476 476 begin 477 ProfileEvent( 'Read index');477 LogEvent(LogParse, 'Read index'); 478 478 479 479 _Index := TStringList.Create; … … 529 529 SearchTableRecordLengthIs16Bit: boolean; 530 530 begin 531 ProfileEvent( 'Read search table');531 LogEvent(LogParse, 'Read search table'); 532 532 533 533 if _pHeader^.SearchLen = 0 then 534 534 begin 535 ProfileEvent( 'Read search table');535 LogEvent(LogParse, 'Read search table (len = 0'); 536 536 exit; 537 537 end;
Note:
See TracChangeset
for help on using the changeset viewer.