Changeset 39
- Timestamp:
- Jan 2, 2007, 8:18:36 PM (19 years ago)
- Location:
- trunk/Components
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Components/ACLLanguageUnit.pas
r15 r39 132 132 StdCtrls, Buttons, ExtCtrls, TabCtrls, Dialogs, 133 133 Coolbar2, Multicolumnlistbox, 134 ACLUtility, ACLStringUtility, ACLProfile, ACLFileUtility; 134 ACLUtility, ACLStringUtility, 135 // ACLProfile, 136 ACLFileUtility; 135 137 136 138 var … … 738 740 MinorLanguage: string; 739 741 begin 740 ProfileEvent( 'LoadDefaultLanguage' );742 // ProfileEvent( 'LoadDefaultLanguage' ); 741 743 742 744 LanguageVar := GetEnv( 'LANG' ); 743 745 744 ProfileEvent( ' LANG=' 745 + LanguageVar ); 746 // ProfileEvent( ' LANG=' + LanguageVar ); 746 747 if LanguageVar = '' then 747 748 LanguageVar := 'EN_US'; … … 750 751 MinorLanguage := ExtractNextValue( LanguageVar, '_' ); 751 752 752 ProfileEvent( ' MajorLanguage=' 753 + MajorLanguage ); 754 ProfileEvent( ' MinorLanguage=' 755 + MinorLanguage ); 753 // ProfileEvent( ' MajorLanguage=' + MajorLanguage ); 754 // ProfileEvent( ' MinorLanguage=' + MinorLanguage ); 756 755 757 756 // note there might be some other stuff on the end of LANG … … 760 759 if MinorLanguage <> '' then 761 760 begin 762 ProfileEvent( ' Trying Major_Minor' );761 // ProfileEvent( ' Trying Major_Minor' ); 763 762 if LoadAutoLanguage( AppName, 764 763 MajorLanguage … … 767 766 begin 768 767 // found a specifc language 769 ProfileEvent( ' Found' );768 // ProfileEvent( ' Found' ); 770 769 exit; 771 770 end; 772 771 end; 773 772 774 ProfileEvent( ' Trying Major only' );773 // ProfileEvent( ' Trying Major only' ); 775 774 // try generic language? 776 775 if LoadAutoLanguage( AppName, MajorLanguage ) then 777 776 begin 778 ProfileEvent( ' Found' );777 // ProfileEvent( ' Found' ); 779 778 end 780 779 else 781 780 begin 782 ProfileEvent( ' No language found, using default' );781 // ProfileEvent( ' No language found, using default' ); 783 782 784 783 // load defaults -
trunk/Components/RichTextStyleUnit.pas
r15 r39 144 144 uses 145 145 SysUtils, 146 ACLStringUtility, ACLProfile; 146 ACLStringUtility; 147 // ACLProfile; 147 148 148 149 Procedure ApplyStyle( const Style: TTextDrawStyle; … … 525 526 Procedure TRichTextSettings.SetHeading1Font( NewFont: TFont ); 526 527 begin 527 ProfileEvent( 'TRichTextSettings.SetHeading1Font' );528 // ProfileEvent( 'TRichTextSettings.SetHeading1Font' ); 528 529 AssignFont( FHeading1Font, NewFont ); 529 530 530 if FHeading1FOnt = nil then531 ProfileEvent( ' Set to nil' );531 // if FHeading1FOnt = nil then 532 // ProfileEvent( ' Set to nil' ); 532 533 533 534 end; -
trunk/Components/RichTextView.PAS
r15 r39 429 429 Uses 430 430 SysUtils, PMWin, BseDos, Dos, ClipBrd, Printers, 431 ACLStringUtility, ACLString, ACLProfile,431 ACLStringUtility, ACLString, 432 432 ControlScrolling, ControlsUtility, 433 433 RichTextDocumentUnit, RichTextDisplayUnit; … … 724 724 Msg.Result := 725 725 CopySelectionToBuffer( PChar( Msg.Param1 ), 726 Msg.Param2 ); 726 Msg.Param2 ); 727 727 end; 728 728
Note:
See TracChangeset
for help on using the changeset viewer.