Changeset 83
- Timestamp:
- Oct 31, 2010, 9:40:18 PM (14 years ago)
- Location:
- branches/Transpascal
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Transpascal/Common/ULastOpenedList.pas
r82 r83 75 75 ReloadMenu; 76 76 finally 77 Destroy;77 Free; 78 78 end; 79 79 end; … … 91 91 WriteString('File' + IntToStr(I), UTF8Decode(Strings[I])); 92 92 finally 93 Destroy;93 Free; 94 94 end; 95 95 end; -
branches/Transpascal/Compiler/Analyze/UParser.pas
r80 r83 360 360 // Update cursor position 361 361 Inc(CodePosition.X); 362 if (CurrentChar = #13) then begin362 if (CurrentChar = LineEnding) then begin 363 363 CodePosition.X := 0; 364 364 Inc(CodePosition.Y); -
branches/Transpascal/Compiler/USourceCode.pas
r82 r83 2 2 3 3 {$MODE Delphi} 4 {$MACRO ON} 4 5 5 6 interface 6 7 7 8 uses 8 SysUtils, Variants, Classes, Dialogs , ListObject;9 SysUtils, Variants, Classes, Dialogs; 9 10 10 11 type … … 55 56 end; 56 57 58 // TListExpression = TGObjectList<Integer, TExpression> 59 {$DEFINE TGObjectListIndex := Integer} 60 {$DEFINE TGObjectListItem := TExpression} 61 {$DEFINE TGObjectListList := TObjectListExpression} 62 {$DEFINE TGObjectList := TListExpression} 63 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareExpression} 64 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterExpression} 65 {$DEFINE INTERFACE} 66 {$I 'GenericObjectList.inc'} 67 57 68 { TFunctionCall } 58 69 59 70 TFunctionCall = class(TCommand) 60 71 FunctionRef: TFunction; 61 ParameterExpression: TList Object; // TListObject<TExpression>72 ParameterExpression: TListExpression; 62 73 constructor Create; 63 74 destructor Destroy; override; … … 115 126 end; 116 127 128 // TListCaseOfEndBranche = TGObjectList<Integer, TCaseOfEndBranche> 129 {$DEFINE TGObjectListIndex := Integer} 130 {$DEFINE TGObjectListItem := TCaseOfEndBranche} 131 {$DEFINE TGObjectListList := TObjectListCaseOfEndBranche} 132 {$DEFINE TGObjectList := TListCaseOfEndBranche} 133 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareCaseOfEndBranche} 134 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterCaseOfEndBranche} 135 {$DEFINE INTERFACE} 136 {$I 'GenericObjectList.inc'} 137 117 138 TCaseOfEnd = class(TCommand) 118 139 Expression: TExpression; 119 Branches: TList Object; // TListObject<TCaseOfEndBranche>140 Branches: TListCaseOfEndBranche; 120 141 ElseCommand: TCommand; 121 142 constructor Create; … … 133 154 end; 134 155 135 TCommandList = class(TListObject) 136 137 end; 156 // TCommandList = TGObjectList<Integer, TCommand> 157 {$DEFINE TGObjectListIndex := Integer} 158 {$DEFINE TGObjectListItem := TCommand} 159 {$DEFINE TGObjectListList := TObjectListCommand} 160 {$DEFINE TGObjectList := TCommandList} 161 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareCommand} 162 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterCommand} 163 {$DEFINE INTERFACE} 164 {$I 'GenericObjectList.inc'} 138 165 139 166 TCommonBlock = class … … 161 188 end; 162 189 190 // TListType = TGObjectList<Integer, TType> 191 {$DEFINE TGObjectListIndex := Integer} 192 {$DEFINE TGObjectListItem := TType} 193 {$DEFINE TGObjectListList := TObjectListType} 194 {$DEFINE TGObjectList := TListType} 195 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareType} 196 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterType} 197 {$DEFINE INTERFACE} 198 {$I 'GenericObjectList.inc'} 199 200 TTypeList = class(TListType) 201 Parent: TCommonBlock; 202 function Search(Name: string; Exported: Boolean = False): TType; 203 destructor Destroy; override; 204 end; 205 163 206 TTypeInherited = class(TType) 164 207 end; … … 188 231 end; 189 232 233 // TListEnumItem = TGObjectList<Integer, TEnumItem> 234 {$DEFINE TGObjectListIndex := Integer} 235 {$DEFINE TGObjectListItem := TEnumItem} 236 {$DEFINE TGObjectListList := TObjectListEnumItem} 237 {$DEFINE TGObjectList := TListEnumItem} 238 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareEnumItem} 239 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterEnumItem} 240 {$DEFINE INTERFACE} 241 {$I 'GenericObjectList.inc'} 242 190 243 TTypeEnumeration = class(TType) 191 Items: TList Object; // TListObject<TEnumItem>244 Items: TListEnumItem; 192 245 constructor Create; 193 246 destructor Destroy; override; … … 197 250 198 251 TTypeClass = class(TType) 199 Items: TListObject; // TListObject<TType> 200 constructor Create; 201 destructor Destroy; override; 202 end; 203 204 TTypeList = class(TListObject) 205 Parent: TCommonBlock; 206 function Search(Name: string; Exported: Boolean = False): TType; 252 Items: TListType; 253 constructor Create; 207 254 destructor Destroy; override; 208 255 end; … … 216 263 end; 217 264 218 TConstantList = class(TListObject) 265 // TListConstant = TGObjectList<Integer, TConstant> 266 {$DEFINE TGObjectListIndex := Integer} 267 {$DEFINE TGObjectListItem := TConstant} 268 {$DEFINE TGObjectListList := TObjectListConstant} 269 {$DEFINE TGObjectList := TListConstant} 270 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareConstant} 271 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterConstant} 272 {$DEFINE INTERFACE} 273 {$I 'GenericObjectList.inc'} 274 275 TConstantList = class(TListConstant) 219 276 Parent: TCommonBlock; 220 277 function Search(Name: string): TConstant; … … 229 286 end; 230 287 231 TVariableList = class(TListObject) 288 // TListVariable = TGObjectList<Integer, TVariable> 289 {$DEFINE TGObjectListIndex := Integer} 290 {$DEFINE TGObjectListItem := TVariable} 291 {$DEFINE TGObjectListList := TObjectListVariable} 292 {$DEFINE TGObjectList := TListVariable} 293 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareVariable} 294 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterVariable} 295 {$DEFINE INTERFACE} 296 {$I 'GenericObjectList.inc'} 297 298 TVariableList = class(TListVariable) 232 299 Parent: TCommonBlock; 233 300 function Search(Name: string; Exported: Boolean = False): TVariable; … … 238 305 end; 239 306 240 TParameterList = class(TListObject) 307 // TListParameter = TGObjectList<Integer, TParameter> 308 {$DEFINE TGObjectListIndex := Integer} 309 {$DEFINE TGObjectListItem := TParameter} 310 {$DEFINE TGObjectListList := TObjectListParameter} 311 {$DEFINE TGObjectList := TListParameter} 312 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareParameter} 313 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterParameter} 314 {$DEFINE INTERFACE} 315 {$I 'GenericObjectList.inc'} 316 317 TParameterList = class(TListParameter) 241 318 Parent: TFunction; 242 319 function Search(Name: string): TParameter; … … 261 338 end; 262 339 263 TExpressionList = class(TList Object)340 TExpressionList = class(TListExpression) 264 341 destructor Destroy; override; 265 342 end; … … 278 355 end; 279 356 280 TFunctionList = class(TListObject) 357 // TListFunction = TGObjectList<Integer, TFunction> 358 {$DEFINE TGObjectListIndex := Integer} 359 {$DEFINE TGObjectListItem := TFunction} 360 {$DEFINE TGObjectListList := TObjectListFunction} 361 {$DEFINE TGObjectList := TListFunction} 362 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareFunction} 363 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterFunction} 364 {$DEFINE INTERFACE} 365 {$I 'GenericObjectList.inc'} 366 367 TFunctionList = class(TListFunction) 281 368 Parent: TCommonBlock; 282 369 function Search(Name: string; Exported: Boolean = False): TFunction; … … 291 378 end; 292 379 293 TUsedModuleList = class(TListObject) 380 // TListUsedModule = TGObjectList<Integer, TUsedModule> 381 {$DEFINE TGObjectListIndex := Integer} 382 {$DEFINE TGObjectListItem := TUsedModule} 383 {$DEFINE TGObjectListList := TObjectListUsedModule} 384 {$DEFINE TGObjectList := TListUsedModule} 385 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareUsedModule} 386 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterUsedModule} 387 {$DEFINE INTERFACE} 388 {$I 'GenericObjectList.inc'} 389 390 TUsedModuleList = class(TListUsedModule) 294 391 ParentModule: TModule; 295 392 end; … … 332 429 end; 333 430 431 // TListModule = TGObjectList<Integer, TModule> 432 {$DEFINE TGObjectListIndex := Integer} 433 {$DEFINE TGObjectListItem := TModule} 434 {$DEFINE TGObjectListList := TObjectListModule} 435 {$DEFINE TGObjectList := TListModule} 436 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareModule} 437 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterModule} 438 {$DEFINE INTERFACE} 439 {$I 'GenericObjectList.inc'} 440 334 441 { TModuleList } 335 442 336 TModuleList = class(TList Object)443 TModuleList = class(TListModule) 337 444 function Search(Name: string): TModule; 338 445 end; … … 358 465 implementation 359 466 467 {$DEFINE IMPLEMENTATION_USES} 468 {$I 'GenericObjectList.inc'} 469 470 // TListExpression = TGObjectList<Integer, TExpression> 471 {$DEFINE TGObjectListIndex := Integer} 472 {$DEFINE TGObjectListItem := TExpression} 473 {$DEFINE TGObjectListList := TObjectListExpression} 474 {$DEFINE TGObjectList := TListExpression} 475 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareExpression} 476 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterExpression} 477 {$DEFINE IMPLEMENTATION} 478 {$I 'GenericObjectList.inc'} 479 480 // TListCaseOfEndBranche = TGObjectList<Integer, TCaseOfEndBranche> 481 {$DEFINE TGObjectListIndex := Integer} 482 {$DEFINE TGObjectListItem := TCaseOfEndBranche} 483 {$DEFINE TGObjectListList := TObjectListCaseOfEndBranche} 484 {$DEFINE TGObjectList := TListCaseOfEndBranche} 485 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareCaseOfEndBranche} 486 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterCaseOfEndBranche} 487 {$DEFINE IMPLEMENTATION} 488 {$I 'GenericObjectList.inc'} 489 490 // TCommandList = TGObjectList<Integer, TCommand> 491 {$DEFINE TGObjectListIndex := Integer} 492 {$DEFINE TGObjectListItem := TCommand} 493 {$DEFINE TGObjectListList := TObjectListCommand} 494 {$DEFINE TGObjectList := TCommandList} 495 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareCommand} 496 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterCommand} 497 {$DEFINE IMPLEMENTATION} 498 {$I 'GenericObjectList.inc'} 499 500 // TListEnumItem = TGObjectList<Integer, TEnumItem> 501 {$DEFINE TGObjectListIndex := Integer} 502 {$DEFINE TGObjectListItem := TEnumItem} 503 {$DEFINE TGObjectListList := TObjectListEnumItem} 504 {$DEFINE TGObjectList := TListEnumItem} 505 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareEnumItem} 506 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterEnumItem} 507 {$DEFINE IMPLEMENTATION} 508 {$I 'GenericObjectList.inc'} 509 510 // TListType = TGObjectList<Integer, TType> 511 {$DEFINE TGObjectListIndex := Integer} 512 {$DEFINE TGObjectListItem := TType} 513 {$DEFINE TGObjectListList := TObjectListType} 514 {$DEFINE TGObjectList := TListType} 515 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareType} 516 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterType} 517 {$DEFINE IMPLEMENTATION} 518 {$I 'GenericObjectList.inc'} 519 520 // TListConstant = TGObjectList<Integer, TConstant> 521 {$DEFINE TGObjectListIndex := Integer} 522 {$DEFINE TGObjectListItem := TConstant} 523 {$DEFINE TGObjectListList := TObjectListConstant} 524 {$DEFINE TGObjectList := TListConstant} 525 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareConstant} 526 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterConstant} 527 {$DEFINE IMPLEMENTATION} 528 {$I 'GenericObjectList.inc'} 529 530 // TListVariable = TGObjectList<Integer, TVariable> 531 {$DEFINE TGObjectListIndex := Integer} 532 {$DEFINE TGObjectListItem := TVariable} 533 {$DEFINE TGObjectListList := TObjectListVariable} 534 {$DEFINE TGObjectList := TListVariable} 535 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareVariable} 536 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterVariable} 537 {$DEFINE IMPLEMENTATION} 538 {$I 'GenericObjectList.inc'} 539 540 // TListParameter = TGObjectList<Integer, TParameter> 541 {$DEFINE TGObjectListIndex := Integer} 542 {$DEFINE TGObjectListItem := TParameter} 543 {$DEFINE TGObjectListList := TObjectListParameter} 544 {$DEFINE TGObjectList := TListParameter} 545 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareParameter} 546 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterParameter} 547 {$DEFINE IMPLEMENTATION} 548 {$I 'GenericObjectList.inc'} 549 550 // TListFunction = TGObjectList<Integer, TFunction> 551 {$DEFINE TGObjectListIndex := Integer} 552 {$DEFINE TGObjectListItem := TFunction} 553 {$DEFINE TGObjectListList := TObjectListFunction} 554 {$DEFINE TGObjectList := TListFunction} 555 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareFunction} 556 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterFunction} 557 {$DEFINE IMPLEMENTATION} 558 {$I 'GenericObjectList.inc'} 559 560 // TListUsedModule = TGObjectList<Integer, TUsedModule> 561 {$DEFINE TGObjectListIndex := Integer} 562 {$DEFINE TGObjectListItem := TUsedModule} 563 {$DEFINE TGObjectListList := TObjectListUsedModule} 564 {$DEFINE TGObjectList := TListUsedModule} 565 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareUsedModule} 566 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterUsedModule} 567 {$DEFINE IMPLEMENTATION} 568 {$I 'GenericObjectList.inc'} 569 570 // TListModule = TGObjectList<Integer, TModule> 571 {$DEFINE TGObjectListIndex := Integer} 572 {$DEFINE TGObjectListItem := TModule} 573 {$DEFINE TGObjectListList := TObjectListModule} 574 {$DEFINE TGObjectList := TListModule} 575 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareModule} 576 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterModule} 577 {$DEFINE IMPLEMENTATION} 578 {$I 'GenericObjectList.inc'} 579 360 580 { TFunction } 361 581 … … 404 624 begin 405 625 I := 0; 406 while (I < Count) and (LowerCase( TConstant(Items[I]).Name) <> LowerCase(Name)) do Inc(I);407 if I < Count then Result := TConstant(Items[I])else begin626 while (I < Count) and (LowerCase(Items[I].Name) <> LowerCase(Name)) do Inc(I); 627 if I < Count then Result := Items[I] else begin 408 628 if Assigned(Parent.Parent) then Result := Parent.Parent.Constants.Search(Name) 409 629 else begin … … 482 702 // Search in own list 483 703 I := 0; 484 while (I < Count) and (LowerCase( TType(Items[I]).Name) <> LowerCase(Name)) do Inc(I);485 if I < Count then Result := TType(Items[I])else Result := nil;704 while (I < Count) and (LowerCase(Items[I].Name) <> LowerCase(Name)) do Inc(I); 705 if I < Count then Result := Items[I] else Result := nil; 486 706 487 707 // Search in parent … … 508 728 // Search in own list 509 729 I := 0; 510 while (I < Count) and (LowerCase( TVariable(Items[I]).Name) <> LowerCase(Name)) do Inc(I);730 while (I < Count) and (LowerCase(Items[I].Name) <> LowerCase(Name)) do Inc(I); 511 731 if I < Count then Result := TVariable(Items[I]) else Result := nil; 512 732 … … 553 773 // Search in own list 554 774 I := 0; 555 while (I < Count) and (LowerCase( TFunction(Items[I]).Name) <> LowerCase(Name)) do Inc(I);556 if I < Count then Result := TFunction(Items[I])else Result := nil;775 while (I < Count) and (LowerCase(Items[I].Name) <> LowerCase(Name)) do Inc(I); 776 if I < Count then Result := Items[I] else Result := nil; 557 777 558 778 // Search parent block list … … 611 831 begin 612 832 I := 0; 613 while (I < Count) and (LowerCase( TParameter(Items[I]).Name) <> LowerCase(Name)) do Inc(I);614 if I < Count then Result := TParameter(Items[I])833 while (I < Count) and (LowerCase(Items[I].Name) <> LowerCase(Name)) do Inc(I); 834 if I < Count then Result := Items[I] 615 835 else Result := nil; 616 836 end; … … 668 888 begin 669 889 inherited; 670 Branches := TList Object.Create890 Branches := TListCaseOfEndBranche.Create 671 891 end; 672 892 … … 695 915 begin 696 916 inherited; 697 ParameterExpression := TList Object.Create;917 ParameterExpression := TListExpression.Create; 698 918 end; 699 919 … … 741 961 begin 742 962 I := 0; 743 while (I < Count) and (LowerCase( TModule(Items[I]).Name) <> LowerCase(Name)) do Inc(I);744 if I < Count then Result := TModule(Items[I])else Result := nil;963 while (I < Count) and (LowerCase(Items[I].Name) <> LowerCase(Name)) do Inc(I); 964 if I < Count then Result := Items[I] else Result := nil; 745 965 end; 746 966 … … 756 976 I := 0; 757 977 while (I < UsedModules.Count) and (not Assigned(Result)) do begin 758 Result := TUsedModule(UsedModules[I]).Module.SearchVariable(Name, False);978 Result := UsedModules[I].Module.SearchVariable(Name, False); 759 979 Inc(I); 760 980 end; … … 776 996 I := 0; 777 997 while (I < UsedModules.Count) and (not Assigned(Result)) do begin 778 with TUsedModule(UsedModules[I])do998 with UsedModules[I] do 779 999 if Assigned(Module) then 780 1000 with Module do … … 794 1014 I := 0; 795 1015 while (I < UsedModules.Count) and (not Assigned(Result)) do begin 796 if Assigned( TUsedModule(UsedModules[I]).Module) then797 Result := TUsedModule(UsedModules[I]).Module.SearchFunction(Name, False);1016 if Assigned(UsedModules[I].Module) then 1017 Result := UsedModules[I].Module.SearchFunction(Name, False); 798 1018 Inc(I); 799 1019 end; … … 829 1049 begin 830 1050 inherited; 831 Items := TList Object.Create;1051 Items := TListEnumItem.Create; 832 1052 end; 833 1053 … … 842 1062 constructor TTypeClass.Create; 843 1063 begin 844 Items := TList Object.Create;1064 Items := TListType.Create; 845 1065 end; 846 1066 -
branches/Transpascal/Forms/UMainForm.lfm
r81 r83 2 2 Left = 362 3 3 Height = 501 4 Top = 11 34 Top = 115 5 5 Width = 695 6 6 Caption = 'Transpascal IDE' 7 ClientHeight = 4 827 ClientHeight = 476 8 8 ClientWidth = 695 9 9 Font.Height = -11 … … 20 20 Left = 0 21 21 Height = 5 22 Top = 47 722 Top = 471 23 23 Width = 695 24 24 Align = alBottom … … 27 27 object DockPanel: TPanel 28 28 Left = 0 29 Height = 4 5129 Height = 445 30 30 Top = 26 31 31 Width = 695 … … 43 43 object ComboBoxTargetSelection: TComboBox 44 44 Left = 192 45 Height = 2 145 Height = 24 46 46 Top = 2 47 47 Width = 135 48 48 Align = alLeft 49 ItemHeight = 1349 ItemHeight = 0 50 50 ItemIndex = 1 51 51 Items.Strings = ( … … 73 73 Height = 24 74 74 Top = 2 75 Width = 1 0575 Width = 122 76 76 Align = alLeft 77 77 Caption = 'Log parsing to file' … … 80 80 object ComboBoxAnalyzerType: TComboBox 81 81 Left = 40 82 Height = 2 182 Height = 24 83 83 Top = 2 84 84 Width = 124 85 85 Align = alLeft 86 ItemHeight = 1386 ItemHeight = 0 87 87 Style = csDropDownList 88 88 TabOrder = 3 -
branches/Transpascal/Forms/UMainForm.pas
r82 r83 9 9 Dialogs, StdCtrls, UCompiler, UProducerAsm8051, Registry, 10 10 UProducerDynamicC, ComCtrls, ExtCtrls, SynEdit, SynHighlighterPas, UProducerTreeView, 11 UProducerPascal, ListObject,UProject, FileUtil, Menus, ActnList, UCoolDocking,11 UProducerPascal, UProject, FileUtil, Menus, ActnList, UCoolDocking, 12 12 UCompiledForm, UCodeTreeForm, URegistry, ULastOpenedList, UApplicationInfo, 13 13 UDebugLog; -
branches/Transpascal/Transpascal.lpi
r82 r83 20 20 <StringTable ProductVersion=""/> 21 21 </VersionInfo> 22 <BuildModes Count="1">23 <Item1 Name="default" Default="True"/>24 </BuildModes>25 22 <PublishOptions> 26 23 <Version Value="2"/> … … 53 50 </Item5> 54 51 </RequiredPackages> 55 <Units Count=" 57">52 <Units Count="79"> 56 53 <Unit0> 57 54 <Filename Value="Transpascal.lpr"/> … … 71 68 <ResourceBaseClass Value="Form"/> 72 69 <UnitName Value="UMainForm"/> 73 <IsVisibleTab Value="True"/> 74 <EditorIndex Value="8"/> 75 <WindowIndex Value="0"/> 76 <TopLine Value="123"/> 77 <CursorPos X="5" Y="152"/> 70 <EditorIndex Value="14"/> 71 <WindowIndex Value="0"/> 72 <TopLine Value="1"/> 73 <CursorPos X="20" Y="11"/> 78 74 <UsageCount Value="215"/> 79 75 <Loaded Value="True"/> … … 84 80 <IsPartOfProject Value="True"/> 85 81 <UnitName Value="UTextSource"/> 86 <EditorIndex Value="3"/>87 82 <WindowIndex Value="0"/> 88 83 <TopLine Value="1"/> 89 84 <CursorPos X="1" Y="6"/> 90 85 <UsageCount Value="215"/> 91 <Loaded Value="True"/>92 86 <DefaultSyntaxHighlighter Value="Delphi"/> 93 87 </Unit2> … … 98 92 <TopLine Value="745"/> 99 93 <CursorPos X="46" Y="759"/> 100 <UsageCount Value="1 40"/>94 <UsageCount Value="139"/> 101 95 <DefaultSyntaxHighlighter Value="Delphi"/> 102 96 </Unit3> … … 107 101 <TopLine Value="1"/> 108 102 <CursorPos X="40" Y="11"/> 109 <UsageCount Value="1 40"/>103 <UsageCount Value="139"/> 110 104 <DefaultSyntaxHighlighter Value="Delphi"/> 111 105 </Unit4> … … 116 110 <TopLine Value="187"/> 117 111 <CursorPos X="34" Y="201"/> 118 <UsageCount Value="1 40"/>112 <UsageCount Value="139"/> 119 113 </Unit5> 120 114 <Unit6> … … 124 118 <TopLine Value="1"/> 125 119 <CursorPos X="1" Y="14"/> 126 <UsageCount Value="1 40"/>120 <UsageCount Value="139"/> 127 121 </Unit6> 128 122 <Unit7> … … 132 126 <TopLine Value="124"/> 133 127 <CursorPos X="42" Y="136"/> 134 <UsageCount Value="1 40"/>128 <UsageCount Value="139"/> 135 129 </Unit7> 136 130 <Unit8> … … 140 134 <TopLine Value="442"/> 141 135 <CursorPos X="47" Y="455"/> 142 <UsageCount Value="1 40"/>136 <UsageCount Value="139"/> 143 137 </Unit8> 144 138 <Unit9> … … 148 142 <TopLine Value="78"/> 149 143 <CursorPos X="27" Y="86"/> 150 <UsageCount Value="3 2"/>144 <UsageCount Value="31"/> 151 145 <DefaultSyntaxHighlighter Value="Delphi"/> 152 146 </Unit9> … … 156 150 <TopLine Value="61"/> 157 151 <CursorPos X="7" Y="68"/> 158 <UsageCount Value="4 2"/>152 <UsageCount Value="41"/> 159 153 <DefaultSyntaxHighlighter Value="Delphi"/> 160 154 </Unit10> … … 164 158 <TopLine Value="139"/> 165 159 <CursorPos X="16" Y="146"/> 166 <UsageCount Value="4 2"/>160 <UsageCount Value="41"/> 167 161 <DefaultSyntaxHighlighter Value="Delphi"/> 168 162 </Unit11> … … 173 167 <TopLine Value="69"/> 174 168 <CursorPos X="1" Y="82"/> 175 <UsageCount Value="10 2"/>169 <UsageCount Value="101"/> 176 170 </Unit12> 177 171 <Unit13> … … 180 174 <TopLine Value="591"/> 181 175 <CursorPos X="3" Y="604"/> 182 <UsageCount Value=" 4"/>176 <UsageCount Value="3"/> 183 177 <DefaultSyntaxHighlighter Value="Delphi"/> 184 178 </Unit13> … … 189 183 <TopLine Value="320"/> 190 184 <CursorPos X="1" Y="327"/> 191 <UsageCount Value="5 6"/>185 <UsageCount Value="55"/> 192 186 </Unit14> 193 187 <Unit15> … … 195 189 <IsPartOfProject Value="True"/> 196 190 <UnitName Value="UProject"/> 197 <EditorIndex Value="4"/> 198 <WindowIndex Value="0"/> 199 <TopLine Value="51"/> 200 <CursorPos X="58" Y="62"/> 191 <EditorIndex Value="15"/> 192 <WindowIndex Value="0"/> 193 <TopLine Value="68"/> 194 <CursorPos X="12" Y="77"/> 195 <FoldState Value=" TM HP215"/> 201 196 <UsageCount Value="223"/> 202 197 <Loaded Value="True"/> … … 208 203 <TopLine Value="17"/> 209 204 <CursorPos X="11" Y="30"/> 210 <UsageCount Value=" 5"/>205 <UsageCount Value="4"/> 211 206 <DefaultSyntaxHighlighter Value="Delphi"/> 212 207 </Unit16> … … 217 212 <TopLine Value="1"/> 218 213 <CursorPos X="33" Y="1"/> 219 <UsageCount Value=" 20"/>214 <UsageCount Value="19"/> 220 215 </Unit17> 221 216 <Unit18> 222 217 <Filename Value="Compiler\UCompiler.pas"/> 223 218 <UnitName Value="UCompiler"/> 224 <EditorIndex Value="19"/>225 219 <WindowIndex Value="0"/> 226 220 <TopLine Value="55"/> 227 221 <CursorPos X="15" Y="63"/> 228 <UsageCount Value="103"/> 229 <Loaded Value="True"/> 222 <UsageCount Value="102"/> 230 223 </Unit18> 231 224 <Unit19> 232 225 <Filename Value="Compiler\USourceCode.pas"/> 233 226 <UnitName Value="USourceCode"/> 234 <EditorIndex Value="1"/> 235 <WindowIndex Value="0"/> 236 <TopLine Value="246"/> 237 <CursorPos X="31" Y="263"/> 238 <UsageCount Value="96"/> 227 <IsVisibleTab Value="True"/> 228 <EditorIndex Value="0"/> 229 <WindowIndex Value="0"/> 230 <TopLine Value="1037"/> 231 <CursorPos X="71" Y="1063"/> 232 <UsageCount Value="103"/> 239 233 <Loaded Value="True"/> 240 234 </Unit19> … … 242 236 <Filename Value="Compiler\Analyze\UParser.pas"/> 243 237 <UnitName Value="UParser"/> 244 <EditorIndex Value="20"/> 245 <WindowIndex Value="0"/> 246 <TopLine Value="24"/> 247 <CursorPos X="19" Y="85"/> 248 <UsageCount Value="103"/> 249 <Loaded Value="True"/> 238 <WindowIndex Value="0"/> 239 <TopLine Value="295"/> 240 <CursorPos X="1" Y="362"/> 241 <UsageCount Value="102"/> 250 242 </Unit20> 251 243 <Unit21> … … 255 247 <ResourceBaseClass Value="Form"/> 256 248 <UnitName Value="UProjectManager"/> 257 <EditorIndex Value="6"/>258 249 <WindowIndex Value="0"/> 259 250 <TopLine Value="1"/> 260 251 <CursorPos X="29" Y="44"/> 261 252 <UsageCount Value="207"/> 262 <Loaded Value="True"/>263 253 <DefaultSyntaxHighlighter Value="Delphi"/> 264 254 </Unit21> … … 281 271 <ResourceBaseClass Value="Form"/> 282 272 <UnitName Value="UMessagesForm"/> 283 <EditorIndex Value="7"/>284 273 <WindowIndex Value="0"/> 285 274 <TopLine Value="1"/> 286 275 <CursorPos X="38" Y="76"/> 287 276 <UsageCount Value="207"/> 288 <Loaded Value="True"/>289 277 <DefaultSyntaxHighlighter Value="Delphi"/> 290 278 </Unit23> … … 296 284 <ResourceBaseClass Value="Form"/> 297 285 <UnitName Value="UCompiledForm"/> 298 <EditorIndex Value="12"/>299 286 <WindowIndex Value="0"/> 300 287 <TopLine Value="2"/> 301 288 <CursorPos X="28" Y="21"/> 302 289 <UsageCount Value="206"/> 303 <Loaded Value="True"/>304 290 <DefaultSyntaxHighlighter Value="Delphi"/> 305 291 </Unit24> … … 322 308 <TopLine Value="141"/> 323 309 <CursorPos X="81" Y="154"/> 324 <UsageCount Value="1 9"/>310 <UsageCount Value="18"/> 325 311 </Unit26> 326 312 <Unit27> … … 330 316 <TopLine Value="316"/> 331 317 <CursorPos X="14" Y="329"/> 332 <UsageCount Value="1 8"/>318 <UsageCount Value="17"/> 333 319 <DefaultSyntaxHighlighter Value="Delphi"/> 334 320 </Unit27> … … 338 324 <TopLine Value="1762"/> 339 325 <CursorPos X="1" Y="1769"/> 340 <UsageCount Value="1 8"/>326 <UsageCount Value="17"/> 341 327 <DefaultSyntaxHighlighter Value="Delphi"/> 342 328 </Unit28> … … 345 331 <IsPartOfProject Value="True"/> 346 332 <UnitName Value="URegistry"/> 347 <EditorIndex Value="14"/>348 333 <WindowIndex Value="0"/> 349 334 <TopLine Value="1"/> 350 335 <CursorPos X="23" Y="22"/> 351 336 <UsageCount Value="200"/> 352 <Loaded Value="True"/>353 337 <DefaultSyntaxHighlighter Value="Delphi"/> 354 338 </Unit29> … … 359 343 <WindowIndex Value="0"/> 360 344 <TopLine Value="1"/> 361 <CursorPos X=" 68" Y="11"/>345 <CursorPos X="48" Y="11"/> 362 346 <UsageCount Value="200"/> 363 347 <DefaultSyntaxHighlighter Value="Delphi"/> … … 367 351 <IsPartOfProject Value="True"/> 368 352 <UnitName Value="UApplicationInfo"/> 369 <EditorIndex Value="5"/>370 353 <WindowIndex Value="0"/> 371 354 <TopLine Value="35"/> 372 355 <CursorPos X="19" Y="58"/> 373 356 <UsageCount Value="200"/> 374 <Loaded Value="True"/>375 357 <DefaultSyntaxHighlighter Value="Delphi"/> 376 358 </Unit31> … … 378 360 <Filename Value="Compiler\Produce\UProducerDynamicC.pas"/> 379 361 <UnitName Value="UProducerDynamicC"/> 380 <EditorIndex Value="17"/>381 362 <WindowIndex Value="0"/> 382 363 <TopLine Value="270"/> 383 364 <CursorPos X="50" Y="283"/> 384 <UsageCount Value="100"/> 385 <Loaded Value="True"/> 365 <UsageCount Value="99"/> 386 366 </Unit32> 387 367 <Unit33> … … 389 369 <UnitName Value="UProducerAsm8051"/> 390 370 <WindowIndex Value="0"/> 391 <TopLine Value="1 44"/>371 <TopLine Value="1"/> 392 372 <CursorPos X="56" Y="157"/> 393 <UsageCount Value="1 5"/>373 <UsageCount Value="14"/> 394 374 </Unit33> 395 375 <Unit34> 396 376 <Filename Value="Compiler\Produce\UProducerPascal.pas"/> 397 377 <UnitName Value="UProducerPascal"/> 398 <EditorIndex Value="18"/>399 378 <WindowIndex Value="0"/> 400 379 <TopLine Value="301"/> 401 380 <CursorPos X="50" Y="314"/> 402 381 <UsageCount Value="46"/> 403 <Loaded Value="True"/>404 382 </Unit34> 405 383 <Unit35> 406 384 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 407 385 <UnitName Value="UPascalParser"/> 408 <EditorIndex Value="0"/> 409 <WindowIndex Value="0"/> 410 <TopLine Value="1"/> 411 <CursorPos X="48" Y="41"/> 412 <UsageCount Value="111"/> 413 <Loaded Value="True"/> 386 <WindowIndex Value="0"/> 387 <TopLine Value="187"/> 388 <CursorPos X="17" Y="246"/> 389 <UsageCount Value="110"/> 414 390 </Unit35> 415 391 <Unit36> … … 419 395 <TopLine Value="15"/> 420 396 <CursorPos X="1" Y="28"/> 421 <UsageCount Value="4 5"/>397 <UsageCount Value="44"/> 422 398 </Unit36> 423 399 <Unit37> … … 427 403 <TopLine Value="828"/> 428 404 <CursorPos X="27" Y="841"/> 429 <UsageCount Value="2 1"/>405 <UsageCount Value="20"/> 430 406 <DefaultSyntaxHighlighter Value="Delphi"/> 431 407 </Unit37> … … 436 412 <TopLine Value="56"/> 437 413 <CursorPos X="3" Y="69"/> 438 <UsageCount Value=" 5"/>414 <UsageCount Value="4"/> 439 415 <DefaultSyntaxHighlighter Value="Delphi"/> 440 416 </Unit38> … … 445 421 <TopLine Value="113"/> 446 422 <CursorPos X="3" Y="120"/> 447 <UsageCount Value=" 5"/>423 <UsageCount Value="4"/> 448 424 <DefaultSyntaxHighlighter Value="Delphi"/> 449 425 </Unit39> … … 453 429 <TopLine Value="1"/> 454 430 <CursorPos X="24" Y="11"/> 455 <UsageCount Value=" 5"/>431 <UsageCount Value="4"/> 456 432 <DefaultSyntaxHighlighter Value="Delphi"/> 457 433 </Unit40> … … 461 437 <TopLine Value="1"/> 462 438 <CursorPos X="17" Y="5"/> 463 <UsageCount Value=" 10"/>439 <UsageCount Value="9"/> 464 440 <DefaultSyntaxHighlighter Value="None"/> 465 441 </Unit41> … … 470 446 <TopLine Value="1"/> 471 447 <CursorPos X="8" Y="8"/> 472 <UsageCount Value=" 10"/>448 <UsageCount Value="9"/> 473 449 </Unit42> 474 450 <Unit43> … … 476 452 <IsPartOfProject Value="True"/> 477 453 <UnitName Value="UDebugLog"/> 478 <EditorIndex Value="13"/>479 454 <WindowIndex Value="0"/> 480 455 <TopLine Value="1"/> 481 456 <CursorPos X="28" Y="22"/> 482 <UsageCount Value="133"/> 483 <Loaded Value="True"/> 457 <UsageCount Value="145"/> 484 458 <DefaultSyntaxHighlighter Value="Delphi"/> 485 459 </Unit43> … … 489 463 <TopLine Value="365"/> 490 464 <CursorPos X="5" Y="370"/> 491 <UsageCount Value="2 5"/>465 <UsageCount Value="24"/> 492 466 <DefaultSyntaxHighlighter Value="Delphi"/> 493 467 </Unit44> … … 498 472 <TopLine Value="3"/> 499 473 <CursorPos X="6" Y="16"/> 500 <UsageCount Value=" 4"/>474 <UsageCount Value="3"/> 501 475 <DefaultSyntaxHighlighter Value="Delphi"/> 502 476 </Unit45> … … 504 478 <Filename Value="Compiler\Produce\UProducerGCCC.pas"/> 505 479 <UnitName Value="UProducerGCCC"/> 506 <EditorIndex Value="21"/>507 480 <WindowIndex Value="0"/> 508 481 <TopLine Value="270"/> 509 482 <CursorPos X="30" Y="278"/> 510 483 <UsageCount Value="44"/> 511 <Loaded Value="True"/>512 484 </Unit46> 513 485 <Unit47> … … 517 489 <TopLine Value="66"/> 518 490 <CursorPos X="14" Y="91"/> 519 <UsageCount Value=" 5"/>491 <UsageCount Value="4"/> 520 492 <DefaultSyntaxHighlighter Value="Delphi"/> 521 493 </Unit47> … … 525 497 <TopLine Value="1"/> 526 498 <CursorPos X="1" Y="1"/> 527 <UsageCount Value=" 38"/>499 <UsageCount Value="45"/> 528 500 <Loaded Value="True"/> 529 501 <DefaultSyntaxHighlighter Value="LFM"/> … … 532 504 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\packages\fcl-registry\src\registry.pp"/> 533 505 <UnitName Value="registry"/> 534 <EditorIndex Value="15"/>535 506 <WindowIndex Value="0"/> 536 507 <TopLine Value="1"/> 537 508 <CursorPos X="36" Y="55"/> 538 <UsageCount Value="38"/> 539 <Loaded Value="True"/> 509 <UsageCount Value="37"/> 540 510 <DefaultSyntaxHighlighter Value="Delphi"/> 541 511 </Unit49> 542 512 <Unit50> 543 513 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\packages\fcl-registry\src\regdef.inc"/> 544 <EditorIndex Value="16"/>545 514 <WindowIndex Value="0"/> 546 515 <TopLine Value="1"/> 547 516 <CursorPos X="3" Y="21"/> 548 <UsageCount Value="38"/> 549 <Loaded Value="True"/> 517 <UsageCount Value="37"/> 550 518 <DefaultSyntaxHighlighter Value="Delphi"/> 551 519 </Unit50> 552 520 <Unit51> 553 521 <Filename Value="..\..\..\..\lazarus\trunk\lcl\interfaces\gtk2\gtk2widgetset.inc"/> 554 <EditorIndex Value="10"/>555 522 <WindowIndex Value="0"/> 556 523 <TopLine Value="1377"/> 557 524 <CursorPos X="32" Y="1396"/> 558 <UsageCount Value="38"/> 559 <Loaded Value="True"/> 525 <UsageCount Value="37"/> 560 526 </Unit51> 561 527 <Unit52> … … 564 530 <TopLine Value="22"/> 565 531 <CursorPos X="7" Y="47"/> 566 <UsageCount Value=" 10"/>532 <UsageCount Value="9"/> 567 533 <DefaultSyntaxHighlighter Value="None"/> 568 534 </Unit52> … … 572 538 <TopLine Value="171"/> 573 539 <CursorPos X="7" Y="200"/> 574 <UsageCount Value=" 10"/>540 <UsageCount Value="9"/> 575 541 <DefaultSyntaxHighlighter Value="None"/> 576 542 </Unit53> … … 578 544 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Specialized\ListObject.pas"/> 579 545 <UnitName Value="ListObject"/> 580 <EditorIndex Value="2"/> 581 <WindowIndex Value="0"/> 582 <TopLine Value="39"/> 583 <CursorPos X="7" Y="66"/> 546 <WindowIndex Value="0"/> 547 <TopLine Value="38"/> 548 <CursorPos X="1" Y="74"/> 584 549 <UsageCount Value="11"/> 585 <Loaded Value="True"/>586 550 </Unit54> 587 551 <Unit55> 588 552 <Filename Value="..\..\..\..\lazarus\trunk\lcl\include\listitem.inc"/> 589 <EditorIndex Value="11"/>590 553 <WindowIndex Value="0"/> 591 554 <TopLine Value="525"/> 592 555 <CursorPos X="24" Y="548"/> 593 <UsageCount Value="10"/> 594 <Loaded Value="True"/> 556 <UsageCount Value="9"/> 595 557 </Unit55> 596 558 <Unit56> 597 559 <Filename Value="..\..\..\PascalClassLibrary\Docking\CoolDocking\UCoolDocking.pas"/> 598 560 <UnitName Value="UCoolDocking"/> 599 <EditorIndex Value="9"/>600 561 <WindowIndex Value="0"/> 601 562 <TopLine Value="814"/> 602 563 <CursorPos X="19" Y="828"/> 603 564 <UsageCount Value="10"/> 604 <Loaded Value="True"/>605 565 </Unit56> 566 <Unit57> 567 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\unix\sysunixh.inc"/> 568 <WindowIndex Value="0"/> 569 <TopLine Value="15"/> 570 <CursorPos X="2" Y="28"/> 571 <UsageCount Value="9"/> 572 <DefaultSyntaxHighlighter Value="Delphi"/> 573 </Unit57> 574 <Unit58> 575 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\packages\fcl-registry\src\registry.pp"/> 576 <UnitName Value="registry"/> 577 <WindowIndex Value="0"/> 578 <TopLine Value="194"/> 579 <CursorPos X="12" Y="206"/> 580 <UsageCount Value="9"/> 581 <DefaultSyntaxHighlighter Value="Delphi"/> 582 </Unit58> 583 <Unit59> 584 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\packages\fcl-registry\src\xregreg.inc"/> 585 <WindowIndex Value="0"/> 586 <TopLine Value="1"/> 587 <CursorPos X="45" Y="15"/> 588 <UsageCount Value="9"/> 589 <DefaultSyntaxHighlighter Value="Delphi"/> 590 </Unit59> 591 <Unit60> 592 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\objpas\sysutils\osutilsh.inc"/> 593 <WindowIndex Value="0"/> 594 <TopLine Value="22"/> 595 <CursorPos X="10" Y="37"/> 596 <UsageCount Value="9"/> 597 <DefaultSyntaxHighlighter Value="Delphi"/> 598 </Unit60> 599 <Unit61> 600 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\unix\sysutils.pp"/> 601 <UnitName Value="sysutils"/> 602 <WindowIndex Value="0"/> 603 <TopLine Value="1294"/> 604 <CursorPos X="47" Y="1321"/> 605 <UsageCount Value="9"/> 606 <DefaultSyntaxHighlighter Value="Delphi"/> 607 </Unit61> 608 <Unit62> 609 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Generic\ObjectListInterface.tpl"/> 610 <TopLine Value="1"/> 611 <CursorPos X="1" Y="13"/> 612 <UsageCount Value="9"/> 613 <DefaultSyntaxHighlighter Value="None"/> 614 </Unit62> 615 <Unit63> 616 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Generic\ObjectListImplementation.tpl"/> 617 <WindowIndex Value="0"/> 618 <TopLine Value="1"/> 619 <CursorPos X="7" Y="17"/> 620 <UsageCount Value="9"/> 621 <DefaultSyntaxHighlighter Value="None"/> 622 </Unit63> 623 <Unit64> 624 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericObjectList.inc"/> 625 <EditorIndex Value="3"/> 626 <WindowIndex Value="0"/> 627 <TopLine Value="1"/> 628 <CursorPos X="40" Y="13"/> 629 <UsageCount Value="19"/> 630 <Loaded Value="True"/> 631 </Unit64> 632 <Unit65> 633 <Filename Value="Generics\Generic\GenericObjectList.inc"/> 634 <WindowIndex Value="0"/> 635 <TopLine Value="27"/> 636 <CursorPos X="84" Y="48"/> 637 <UsageCount Value="31"/> 638 </Unit65> 639 <Unit66> 640 <Filename Value="Generics\Generic\GenericList.inc"/> 641 <WindowIndex Value="0"/> 642 <TopLine Value="100"/> 643 <CursorPos X="43" Y="102"/> 644 <UsageCount Value="31"/> 645 </Unit66> 646 <Unit67> 647 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericList.inc"/> 648 <EditorIndex Value="2"/> 649 <WindowIndex Value="0"/> 650 <TopLine Value="24"/> 651 <CursorPos X="14" Y="43"/> 652 <UsageCount Value="10"/> 653 <Loaded Value="True"/> 654 </Unit67> 655 <Unit68> 656 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericDictionary.inc"/> 657 <EditorIndex Value="1"/> 658 <WindowIndex Value="0"/> 659 <TopLine Value="69"/> 660 <CursorPos X="4" Y="41"/> 661 <UsageCount Value="10"/> 662 <Loaded Value="True"/> 663 </Unit68> 664 <Unit69> 665 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericQueue.inc"/> 666 <EditorIndex Value="4"/> 667 <WindowIndex Value="0"/> 668 <TopLine Value="1"/> 669 <CursorPos X="8" Y="30"/> 670 <UsageCount Value="10"/> 671 <Loaded Value="True"/> 672 </Unit69> 673 <Unit70> 674 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericSet.inc"/> 675 <EditorIndex Value="5"/> 676 <WindowIndex Value="0"/> 677 <TopLine Value="12"/> 678 <CursorPos X="8" Y="28"/> 679 <UsageCount Value="10"/> 680 <Loaded Value="True"/> 681 </Unit70> 682 <Unit71> 683 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericStack.inc"/> 684 <EditorIndex Value="6"/> 685 <WindowIndex Value="0"/> 686 <TopLine Value="31"/> 687 <CursorPos X="4" Y="42"/> 688 <UsageCount Value="10"/> 689 <Loaded Value="True"/> 690 </Unit71> 691 <Unit72> 692 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericTree.inc"/> 693 <EditorIndex Value="7"/> 694 <WindowIndex Value="0"/> 695 <TopLine Value="27"/> 696 <CursorPos X="4" Y="47"/> 697 <UsageCount Value="10"/> 698 <Loaded Value="True"/> 699 </Unit72> 700 <Unit73> 701 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Specialized\SpecializedList.pas"/> 702 <UnitName Value="SpecializedList"/> 703 <EditorIndex Value="8"/> 704 <WindowIndex Value="0"/> 705 <TopLine Value="166"/> 706 <CursorPos X="6" Y="203"/> 707 <UsageCount Value="10"/> 708 <Loaded Value="True"/> 709 </Unit73> 710 <Unit74> 711 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Specialized\SpecializedDictionary.pas"/> 712 <UnitName Value="SpecializedDictionary"/> 713 <EditorIndex Value="9"/> 714 <WindowIndex Value="0"/> 715 <TopLine Value="2"/> 716 <CursorPos X="6" Y="39"/> 717 <UsageCount Value="10"/> 718 <Loaded Value="True"/> 719 </Unit74> 720 <Unit75> 721 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Specialized\SpecializedStack.pas"/> 722 <UnitName Value="SpecializedStack"/> 723 <EditorIndex Value="10"/> 724 <WindowIndex Value="0"/> 725 <TopLine Value="21"/> 726 <CursorPos X="6" Y="57"/> 727 <UsageCount Value="10"/> 728 <Loaded Value="True"/> 729 </Unit75> 730 <Unit76> 731 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Specialized\SpecializedTree.pas"/> 732 <UnitName Value="SpecializedTree"/> 733 <EditorIndex Value="11"/> 734 <WindowIndex Value="0"/> 735 <TopLine Value="46"/> 736 <CursorPos X="6" Y="83"/> 737 <UsageCount Value="10"/> 738 <Loaded Value="True"/> 739 </Unit76> 740 <Unit77> 741 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Specialized\SpecializedQueue.pas"/> 742 <UnitName Value="SpecializedQueue"/> 743 <EditorIndex Value="12"/> 744 <WindowIndex Value="0"/> 745 <TopLine Value="41"/> 746 <CursorPos X="6" Y="78"/> 747 <UsageCount Value="10"/> 748 <Loaded Value="True"/> 749 </Unit77> 750 <Unit78> 751 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Specialized\SpecializedSet.pas"/> 752 <UnitName Value="SpecializedSet"/> 753 <EditorIndex Value="13"/> 754 <WindowIndex Value="0"/> 755 <TopLine Value="21"/> 756 <CursorPos X="23" Y="32"/> 757 <UsageCount Value="10"/> 758 <Loaded Value="True"/> 759 </Unit78> 606 760 </Units> 607 <JumpHistory Count="30" HistoryIndex="2 9">761 <JumpHistory Count="30" HistoryIndex="28"> 608 762 <Position1> 609 <Filename Value=" Forms\UMainForm.pas"/>610 <Caret Line=" 129" Column="1" TopLine="109"/>763 <Filename Value="Compiler\USourceCode.pas"/> 764 <Caret Line="63" Column="1" TopLine="44"/> 611 765 </Position1> 612 766 <Position2> 613 <Filename Value=" Forms\UMainForm.pas"/>614 <Caret Line=" 130" Column="1" TopLine="109"/>767 <Filename Value="Compiler\USourceCode.pas"/> 768 <Caret Line="494" Column="34" TopLine="458"/> 615 769 </Position2> 616 770 <Position3> 617 <Filename Value=" Forms\UMainForm.pas"/>618 <Caret Line=" 131" Column="1" TopLine="109"/>771 <Filename Value="Compiler\USourceCode.pas"/> 772 <Caret Line="478" Column="31" TopLine="460"/> 619 773 </Position3> 620 774 <Position4> 621 <Filename Value=" Forms\UMainForm.pas"/>622 <Caret Line=" 132" Column="1" TopLine="109"/>775 <Filename Value="Compiler\USourceCode.pas"/> 776 <Caret Line="472" Column="42" TopLine="306"/> 623 777 </Position4> 624 778 <Position5> 625 <Filename Value=" Forms\UMainForm.pas"/>626 <Caret Line=" 134" Column="1" TopLine="109"/>779 <Filename Value="Compiler\USourceCode.pas"/> 780 <Caret Line="468" Column="46" TopLine="460"/> 627 781 </Position5> 628 782 <Position6> 629 <Filename Value=" Forms\UMainForm.pas"/>630 <Caret Line=" 135" Column="1" TopLine="109"/>783 <Filename Value="Compiler\USourceCode.pas"/> 784 <Caret Line="890" Column="36" TopLine="871"/> 631 785 </Position6> 632 786 <Position7> 633 <Filename Value=" Forms\UMainForm.pas"/>634 <Caret Line=" 136" Column="1" TopLine="109"/>787 <Filename Value="Compiler\USourceCode.pas"/> 788 <Caret Line="917" Column="41" TopLine="898"/> 635 789 </Position7> 636 790 <Position8> 637 <Filename Value=" Forms\UMainForm.pas"/>638 <Caret Line="1 38" Column="1" TopLine="120"/>791 <Filename Value="Compiler\USourceCode.pas"/> 792 <Caret Line="1051" Column="25" TopLine="1032"/> 639 793 </Position8> 640 794 <Position9> 641 795 <Filename Value="Forms\UMainForm.pas"/> 642 <Caret Line=" 139" Column="1" TopLine="120"/>796 <Caret Line="30" Column="51" TopLine="1"/> 643 797 </Position9> 644 798 <Position10> 645 <Filename Value=" Forms\UMainForm.pas"/>646 <Caret Line=" 140" Column="1" TopLine="120"/>799 <Filename Value="UProject.pas"/> 800 <Caret Line="62" Column="58" TopLine="51"/> 647 801 </Position10> 648 802 <Position11> 649 <Filename Value=" Forms\UMainForm.pas"/>650 <Caret Line=" 141" Column="1" TopLine="120"/>803 <Filename Value="UProject.pas"/> 804 <Caret Line="8" Column="22" TopLine="1"/> 651 805 </Position11> 652 806 <Position12> 653 <Filename Value=" Forms\UMainForm.pas"/>654 <Caret Line=" 143" Column="1" TopLine="120"/>807 <Filename Value="UProject.pas"/> 808 <Caret Line="78" Column="1" TopLine="62"/> 655 809 </Position12> 656 810 <Position13> 657 <Filename Value=" Forms\UMainForm.pas"/>658 <Caret Line="1 44" Column="1" TopLine="120"/>811 <Filename Value="UProject.pas"/> 812 <Caret Line="10" Column="67" TopLine="1"/> 659 813 </Position13> 660 814 <Position14> 661 <Filename Value=" Forms\UMainForm.pas"/>662 <Caret Line=" 146" Column="1" TopLine="130"/>815 <Filename Value="UProject.pas"/> 816 <Caret Line="4" Column="8" TopLine="1"/> 663 817 </Position14> 664 818 <Position15> 665 <Filename Value=" Forms\UMainForm.pas"/>666 <Caret Line="1 47" Column="1" TopLine="130"/>819 <Filename Value="Compiler\USourceCode.pas"/> 820 <Caret Line="192" Column="74" TopLine="177"/> 667 821 </Position15> 668 822 <Position16> 669 <Filename Value=" Forms\UMainForm.pas"/>670 <Caret Line=" 149" Column="1" TopLine="130"/>823 <Filename Value="Compiler\USourceCode.pas"/> 824 <Caret Line="62" Column="43" TopLine="47"/> 671 825 </Position16> 672 826 <Position17> 673 <Filename Value=" Forms\UMainForm.pas"/>674 <Caret Line=" 150" Column="1" TopLine="130"/>827 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Specialized\SpecializedList.pas"/> 828 <Caret Line="20" Column="6" TopLine="1"/> 675 829 </Position17> 676 830 <Position18> 677 <Filename Value=" Forms\UMainForm.pas"/>678 <Caret Line=" 152" Column="1" TopLine="130"/>831 <Filename Value="Compiler\USourceCode.pas"/> 832 <Caret Line="66" Column="4" TopLine="47"/> 679 833 </Position18> 680 834 <Position19> 681 <Filename Value=" Forms\UMainForm.pas"/>682 <Caret Line=" 154" Column="1" TopLine="140"/>835 <Filename Value="Compiler\USourceCode.pas"/> 836 <Caret Line="36" Column="38" TopLine="23"/> 683 837 </Position19> 684 838 <Position20> 685 <Filename Value=" Forms\UMainForm.pas"/>686 <Caret Line=" 155" Column="1" TopLine="140"/>839 <Filename Value="Compiler\USourceCode.pas"/> 840 <Caret Line="241" Column="6" TopLine="222"/> 687 841 </Position20> 688 842 <Position21> 689 <Filename Value=" Forms\UMainForm.pas"/>690 <Caret Line=" 156" Column="1" TopLine="140"/>843 <Filename Value="Compiler\USourceCode.pas"/> 844 <Caret Line="273" Column="6" TopLine="254"/> 691 845 </Position21> 692 846 <Position22> 693 <Filename Value=" Forms\UMainForm.pas"/>694 <Caret Line=" 153" Column="3" TopLine="125"/>847 <Filename Value="Compiler\USourceCode.pas"/> 848 <Caret Line="296" Column="8" TopLine="277"/> 695 849 </Position22> 696 850 <Position23> 697 <Filename Value=" Forms\UMainForm.pas"/>698 <Caret Line=" 252" Column="1" TopLine="235"/>851 <Filename Value="Compiler\USourceCode.pas"/> 852 <Caret Line="315" Column="8" TopLine="296"/> 699 853 </Position23> 700 854 <Position24> 701 <Filename Value=" Forms\UMainForm.pas"/>702 <Caret Line=" 143" Column="1" TopLine="123"/>855 <Filename Value="Compiler\USourceCode.pas"/> 856 <Caret Line="365" Column="8" TopLine="346"/> 703 857 </Position24> 704 858 <Position25> 705 <Filename Value=" Forms\UMainForm.pas"/>706 <Caret Line=" 154" Column="3" TopLine="123"/>859 <Filename Value="Compiler\USourceCode.pas"/> 860 <Caret Line="388" Column="8" TopLine="369"/> 707 861 </Position25> 708 862 <Position26> 709 <Filename Value=" Forms\UMainForm.pas"/>710 <Caret Line=" 155" Column="5" TopLine="123"/>863 <Filename Value="Compiler\USourceCode.pas"/> 864 <Caret Line="439" Column="8" TopLine="420"/> 711 865 </Position26> 712 866 <Position27> 713 <Filename Value=" Forms\UMainForm.pas"/>714 <Caret Line=" 152" Column="54" TopLine="123"/>867 <Filename Value="Compiler\USourceCode.pas"/> 868 <Caret Line="468" Column="6" TopLine="449"/> 715 869 </Position27> 716 870 <Position28> 717 <Filename Value=" ..\..\..\PascalClassLibrary\Docking\CoolDocking\UCoolDocking.pas"/>718 <Caret Line=" 155" Column="67" TopLine="138"/>871 <Filename Value="Compiler\USourceCode.pas"/> 872 <Caret Line="627" Column="35" TopLine="599"/> 719 873 </Position28> 720 874 <Position29> 721 <Filename Value=" ..\..\..\PascalClassLibrary\Docking\CoolDocking\UCoolDocking.pas"/>722 <Caret Line="73 1" Column="17" TopLine="714"/>875 <Filename Value="Compiler\USourceCode.pas"/> 876 <Caret Line="730" Column="45" TopLine="711"/> 723 877 </Position29> 724 878 <Position30> 725 <Filename Value="..\..\..\PascalClassLibrary\ Docking\CoolDocking\UCoolDocking.pas"/>726 <Caret Line=" 828" Column="19" TopLine="814"/>879 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericObjectList.inc"/> 880 <Caret Line="13" Column="40" TopLine="1"/> 727 881 </Position30> 728 882 </JumpHistory> … … 732 886 <PathDelim Value="\"/> 733 887 <SearchPaths> 734 <OtherUnitFiles Value="Forms ;Common"/>888 <OtherUnitFiles Value="Forms\;Common\"/> 735 889 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 736 890 </SearchPaths> … … 765 919 <Other> 766 920 <CompilerMessages> 921 <IgnoredMessages idx5023="True" idx5024="True" idx5025="True" idx5028="True" idx5029="True" idx5031="True"/> 767 922 <UseMsgFile Value="True"/> 768 923 </CompilerMessages> -
branches/Transpascal/Transpascal.lpr
r82 r83 7 7 cthreads, 8 8 {$ENDIF}{$ENDIF} 9 Forms, CoolDocking, TemplateGenerics,Interfaces, SysUtils,9 Forms, CoolDocking, Interfaces, SysUtils, 10 10 UMainForm in 'UMainForm.pas' {MainForm}, 11 11 UTextSource in 'UTextSource.pas', UProject, UApplicationInfo, URegistry, 12 12 ULastOpenedList, UDebugLog, TranspascalCompiler, UProjectManager, UCodeForm, 13 UMessagesForm, UCompiledForm, UCodeTreeForm ;13 UMessagesForm, UCompiledForm, UCodeTreeForm, TemplateGenerics; 14 14 15 15 {$R *.res} -
branches/Transpascal/UProject.pas
r82 r83 2 2 3 3 {$mode objfpc}{$H+} 4 {$MACRO ON} 4 5 5 6 interface 6 7 7 8 uses 8 Classes, SysUtils, ListObject,Dialogs, DOM, XMLWrite, XMLRead, FileUtil;9 Classes, SysUtils, Dialogs, DOM, XMLWrite, XMLRead, FileUtil; 9 10 10 11 type … … 22 23 end; 23 24 25 26 // TListProjectNode = TGObjectList<Integer, TProjectNode> 27 {$DEFINE TGObjectListIndex := Integer} 28 {$DEFINE TGObjectListItem := TProjectNode} 29 {$DEFINE TGObjectListList := TObjectListProjectNode} 30 {$DEFINE TGObjectList := TListProjectNode} 31 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareProjectNode} 32 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterProjectNode} 33 {$DEFINE INTERFACE} 34 {$I 'GenericObjectList.inc'} 35 24 36 { TProjectFile } 25 37 … … 37 49 38 50 TProjectGroup = class(TProjectNode) 39 Items: TList Object;51 Items: TListProjectNode; 40 52 constructor Create; 41 53 destructor Destroy; override; … … 61 73 implementation 62 74 75 76 {$DEFINE IMPLEMENTATION_USES} 77 {$INCLUDE 'GenericObjectList.inc'} 78 79 // TListProjectNode = TGObjectList<Integer, TProjectNode> 80 {$DEFINE TGObjectListIndex := Integer} 81 {$DEFINE TGObjectListItem := TProjectNode} 82 {$DEFINE TGObjectListList := TObjectListProjectNode} 83 {$DEFINE TGObjectList := TListProjectNode} 84 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareProjectNode} 85 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterProjectNode} 86 {$DEFINE IMPLEMENTATION} 87 {$INCLUDE 'GenericObjectList.inc'} 88 63 89 { TProjectGroup } 64 90 … … 66 92 begin 67 93 inherited; 68 Items := TList Object.Create;94 Items := TListProjectNode.Create; 69 95 end; 70 96
Note:
See TracChangeset
for help on using the changeset viewer.