- Timestamp:
- Oct 30, 2010, 9:21:38 PM (14 years ago)
- Location:
- branches/Transpascal
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Transpascal/Common/ULastOpenedList.pas
r66 r82 6 6 7 7 uses 8 Classes, SysUtils, Windows, URegistry, Menus;8 Classes, SysUtils, Registry, URegistry, Menus; 9 9 10 10 type -
branches/Transpascal/Compiler/TranspascalCompiler.lpk
r77 r82 62 62 </Files> 63 63 <Type Value="RunAndDesignTime"/> 64 <RequiredPkgs Count=" 2">64 <RequiredPkgs Count="3"> 65 65 <Item1> 66 <PackageName Value=" LCL"/>66 <PackageName Value="TemplateGenerics"/> 67 67 </Item1> 68 68 <Item2> 69 <PackageName Value="LCL"/> 70 </Item2> 71 <Item3> 69 72 <PackageName Value="FCL"/> 70 73 <MinVersion Major="1" Valid="True"/> 71 </Item 2>74 </Item3> 72 75 </RequiredPkgs> 73 76 <UsageOptions> -
branches/Transpascal/Compiler/USourceCode.pas
r81 r82 6 6 7 7 uses 8 SysUtils, Variants, Classes, 9 Dialogs, Contnrs; 8 SysUtils, Variants, Classes, Dialogs, ListObject; 10 9 11 10 type … … 60 59 TFunctionCall = class(TCommand) 61 60 FunctionRef: TFunction; 62 ParameterExpression: T ObjectList; // TObjectList<TExpression>61 ParameterExpression: TListObject; // TListObject<TExpression> 63 62 constructor Create; 64 63 destructor Destroy; override; … … 118 117 TCaseOfEnd = class(TCommand) 119 118 Expression: TExpression; 120 Branches: T ObjectList; // TObjectList<TCaseOfEndBranche>119 Branches: TListObject; // TListObject<TCaseOfEndBranche> 121 120 ElseCommand: TCommand; 122 121 constructor Create; … … 134 133 end; 135 134 136 TCommandList = class(T ObjectList)135 TCommandList = class(TListObject) 137 136 138 137 end; … … 190 189 191 190 TTypeEnumeration = class(TType) 192 Items: T ObjectList; // TObjectList<TEnumItem>191 Items: TListObject; // TListObject<TEnumItem> 193 192 constructor Create; 194 193 destructor Destroy; override; … … 198 197 199 198 TTypeClass = class(TType) 200 Items: T ObjectList; // TObjectList<TType>201 constructor Create; 202 destructor Destroy; override; 203 end; 204 205 TTypeList = class(T ObjectList)199 Items: TListObject; // TListObject<TType> 200 constructor Create; 201 destructor Destroy; override; 202 end; 203 204 TTypeList = class(TListObject) 206 205 Parent: TCommonBlock; 207 206 function Search(Name: string; Exported: Boolean = False): TType; … … 217 216 end; 218 217 219 TConstantList = class(T ObjectList)218 TConstantList = class(TListObject) 220 219 Parent: TCommonBlock; 221 220 function Search(Name: string): TConstant; … … 230 229 end; 231 230 232 TVariableList = class(T ObjectList)231 TVariableList = class(TListObject) 233 232 Parent: TCommonBlock; 234 233 function Search(Name: string; Exported: Boolean = False): TVariable; … … 239 238 end; 240 239 241 TParameterList = class(T ObjectList)240 TParameterList = class(TListObject) 242 241 Parent: TFunction; 243 242 function Search(Name: string): TParameter; … … 262 261 end; 263 262 264 TExpressionList = class(T ObjectList)263 TExpressionList = class(TListObject) 265 264 destructor Destroy; override; 266 265 end; … … 279 278 end; 280 279 281 TFunctionList = class(T ObjectList)280 TFunctionList = class(TListObject) 282 281 Parent: TCommonBlock; 283 282 function Search(Name: string; Exported: Boolean = False): TFunction; … … 292 291 end; 293 292 294 TUsedModuleList = class(T ObjectList)293 TUsedModuleList = class(TListObject) 295 294 ParentModule: TModule; 296 295 end; … … 335 334 { TModuleList } 336 335 337 TModuleList = class(T ObjectList)336 TModuleList = class(TListObject) 338 337 function Search(Name: string): TModule; 339 338 end; … … 669 668 begin 670 669 inherited; 671 Branches := T ObjectList.Create670 Branches := TListObject.Create 672 671 end; 673 672 … … 696 695 begin 697 696 inherited; 698 ParameterExpression := T ObjectList.Create;697 ParameterExpression := TListObject.Create; 699 698 end; 700 699 … … 830 829 begin 831 830 inherited; 832 Items := T ObjectList.Create;831 Items := TListObject.Create; 833 832 end; 834 833 … … 843 842 constructor TTypeClass.Create; 844 843 begin 845 Items := T ObjectList.Create;844 Items := TListObject.Create; 846 845 end; 847 846 -
branches/Transpascal/Forms/UMainForm.pas
r81 r82 9 9 Dialogs, StdCtrls, UCompiler, UProducerAsm8051, Registry, 10 10 UProducerDynamicC, ComCtrls, ExtCtrls, SynEdit, SynHighlighterPas, UProducerTreeView, 11 UProducerPascal, Contnrs, UProject, FileUtil, Menus, ActnList, UCoolDocking,11 UProducerPascal, ListObject, UProject, FileUtil, Menus, ActnList, UCoolDocking, 12 12 UCompiledForm, UCodeTreeForm, URegistry, ULastOpenedList, UApplicationInfo, 13 13 UDebugLog; … … 150 150 CompiledForm.Show; 151 151 152 TCoolDockManager(Container2.Panel.DockManager).DockStyle := dsTabs;152 //TCoolDockManager(Container2.Panel.DockManager).DockStyle := dsTabs; 153 153 154 154 ProjectManager.Parent.Parent.Width := 200; -
branches/Transpascal/Transpascal.lpi
r81 r82 32 32 <local> 33 33 <FormatVersion Value="1"/> 34 <LaunchingApplication PathPlusParams="\usr\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/> 34 35 </local> 35 36 </RunParams> 36 <RequiredPackages Count=" 4">37 <RequiredPackages Count="5"> 37 38 <Item1> 38 <PackageName Value="T ranspascalCompiler"/>39 <PackageName Value="TemplateGenerics"/> 39 40 </Item1> 40 41 <Item2> 41 <PackageName Value=" CoolDocking"/>42 <PackageName Value="TranspascalCompiler"/> 42 43 </Item2> 43 44 <Item3> 45 <PackageName Value="CoolDocking"/> 46 </Item3> 47 <Item4> 44 48 <PackageName Value="SynEdit"/> 45 49 <MinVersion Major="1" Valid="True"/> 46 </Item 3>47 <Item 4>50 </Item4> 51 <Item5> 48 52 <PackageName Value="LCL"/> 49 </Item 4>53 </Item5> 50 54 </RequiredPackages> 51 <Units Count=" 48">55 <Units Count="57"> 52 56 <Unit0> 53 57 <Filename Value="Transpascal.lpr"/> 54 58 <IsPartOfProject Value="True"/> 55 59 <UnitName Value="Transpascal"/> 56 <EditorIndex Value="7"/>57 60 <WindowIndex Value="0"/> 58 61 <TopLine Value="1"/> 59 62 <CursorPos X="31" Y="4"/> 60 63 <UsageCount Value="215"/> 61 <Loaded Value="True"/>62 64 <DefaultSyntaxHighlighter Value="Delphi"/> 63 65 </Unit0> … … 70 72 <UnitName Value="UMainForm"/> 71 73 <IsVisibleTab Value="True"/> 72 <EditorIndex Value=" 6"/>73 <WindowIndex Value="0"/> 74 <TopLine Value=" 205"/>75 <CursorPos X=" 1" Y="223"/>74 <EditorIndex Value="8"/> 75 <WindowIndex Value="0"/> 76 <TopLine Value="123"/> 77 <CursorPos X="5" Y="152"/> 76 78 <UsageCount Value="215"/> 77 79 <Loaded Value="True"/> 78 <LoadedDesigner Value="True"/>79 80 <DefaultSyntaxHighlighter Value="Delphi"/> 80 81 </Unit1> … … 83 84 <IsPartOfProject Value="True"/> 84 85 <UnitName Value="UTextSource"/> 86 <EditorIndex Value="3"/> 85 87 <WindowIndex Value="0"/> 86 88 <TopLine Value="1"/> 87 89 <CursorPos X="1" Y="6"/> 88 90 <UsageCount Value="215"/> 91 <Loaded Value="True"/> 89 92 <DefaultSyntaxHighlighter Value="Delphi"/> 90 93 </Unit2> … … 95 98 <TopLine Value="745"/> 96 99 <CursorPos X="46" Y="759"/> 97 <UsageCount Value="14 5"/>100 <UsageCount Value="140"/> 98 101 <DefaultSyntaxHighlighter Value="Delphi"/> 99 102 </Unit3> … … 104 107 <TopLine Value="1"/> 105 108 <CursorPos X="40" Y="11"/> 106 <UsageCount Value="14 5"/>109 <UsageCount Value="140"/> 107 110 <DefaultSyntaxHighlighter Value="Delphi"/> 108 111 </Unit4> … … 113 116 <TopLine Value="187"/> 114 117 <CursorPos X="34" Y="201"/> 115 <UsageCount Value="14 5"/>118 <UsageCount Value="140"/> 116 119 </Unit5> 117 120 <Unit6> … … 121 124 <TopLine Value="1"/> 122 125 <CursorPos X="1" Y="14"/> 123 <UsageCount Value="14 5"/>126 <UsageCount Value="140"/> 124 127 </Unit6> 125 128 <Unit7> … … 129 132 <TopLine Value="124"/> 130 133 <CursorPos X="42" Y="136"/> 131 <UsageCount Value="14 5"/>134 <UsageCount Value="140"/> 132 135 </Unit7> 133 136 <Unit8> … … 137 140 <TopLine Value="442"/> 138 141 <CursorPos X="47" Y="455"/> 139 <UsageCount Value="14 5"/>142 <UsageCount Value="140"/> 140 143 </Unit8> 141 144 <Unit9> … … 145 148 <TopLine Value="78"/> 146 149 <CursorPos X="27" Y="86"/> 147 <UsageCount Value="37"/> 150 <UsageCount Value="32"/> 151 <DefaultSyntaxHighlighter Value="Delphi"/> 148 152 </Unit9> 149 153 <Unit10> … … 152 156 <TopLine Value="61"/> 153 157 <CursorPos X="7" Y="68"/> 154 <UsageCount Value="47"/> 158 <UsageCount Value="42"/> 159 <DefaultSyntaxHighlighter Value="Delphi"/> 155 160 </Unit10> 156 161 <Unit11> … … 159 164 <TopLine Value="139"/> 160 165 <CursorPos X="16" Y="146"/> 161 <UsageCount Value="47"/> 166 <UsageCount Value="42"/> 167 <DefaultSyntaxHighlighter Value="Delphi"/> 162 168 </Unit11> 163 169 <Unit12> … … 167 173 <TopLine Value="69"/> 168 174 <CursorPos X="1" Y="82"/> 169 <UsageCount Value="10 7"/>175 <UsageCount Value="102"/> 170 176 </Unit12> 171 177 <Unit13> … … 174 180 <TopLine Value="591"/> 175 181 <CursorPos X="3" Y="604"/> 176 <UsageCount Value="9"/> 182 <UsageCount Value="4"/> 183 <DefaultSyntaxHighlighter Value="Delphi"/> 177 184 </Unit13> 178 185 <Unit14> … … 182 189 <TopLine Value="320"/> 183 190 <CursorPos X="1" Y="327"/> 184 <UsageCount Value=" 61"/>191 <UsageCount Value="56"/> 185 192 </Unit14> 186 193 <Unit15> … … 188 195 <IsPartOfProject Value="True"/> 189 196 <UnitName Value="UProject"/> 190 <WindowIndex Value="0"/> 191 <TopLine Value="3"/> 192 <CursorPos X="50" Y="10"/> 197 <EditorIndex Value="4"/> 198 <WindowIndex Value="0"/> 199 <TopLine Value="51"/> 200 <CursorPos X="58" Y="62"/> 193 201 <UsageCount Value="223"/> 202 <Loaded Value="True"/> 194 203 <DefaultSyntaxHighlighter Value="Delphi"/> 195 204 </Unit15> … … 199 208 <TopLine Value="17"/> 200 209 <CursorPos X="11" Y="30"/> 201 <UsageCount Value="0"/> 210 <UsageCount Value="5"/> 211 <DefaultSyntaxHighlighter Value="Delphi"/> 202 212 </Unit16> 203 213 <Unit17> … … 207 217 <TopLine Value="1"/> 208 218 <CursorPos X="33" Y="1"/> 209 <UsageCount Value="2 5"/>219 <UsageCount Value="20"/> 210 220 </Unit17> 211 221 <Unit18> 212 222 <Filename Value="Compiler\UCompiler.pas"/> 213 223 <UnitName Value="UCompiler"/> 214 <EditorIndex Value=" 3"/>224 <EditorIndex Value="19"/> 215 225 <WindowIndex Value="0"/> 216 226 <TopLine Value="55"/> … … 222 232 <Filename Value="Compiler\USourceCode.pas"/> 223 233 <UnitName Value="USourceCode"/> 224 <EditorIndex Value=" 8"/>225 <WindowIndex Value="0"/> 226 <TopLine Value=" 141"/>227 <CursorPos X="3 0" Y="155"/>228 <UsageCount Value=" 100"/>234 <EditorIndex Value="1"/> 235 <WindowIndex Value="0"/> 236 <TopLine Value="246"/> 237 <CursorPos X="31" Y="263"/> 238 <UsageCount Value="96"/> 229 239 <Loaded Value="True"/> 230 240 </Unit19> … … 232 242 <Filename Value="Compiler\Analyze\UParser.pas"/> 233 243 <UnitName Value="UParser"/> 234 <EditorIndex Value=" 4"/>244 <EditorIndex Value="20"/> 235 245 <WindowIndex Value="0"/> 236 246 <TopLine Value="24"/> … … 245 255 <ResourceBaseClass Value="Form"/> 246 256 <UnitName Value="UProjectManager"/> 247 <WindowIndex Value="0"/> 248 <TopLine Value="33"/> 257 <EditorIndex Value="6"/> 258 <WindowIndex Value="0"/> 259 <TopLine Value="1"/> 249 260 <CursorPos X="29" Y="44"/> 250 261 <UsageCount Value="207"/> 262 <Loaded Value="True"/> 251 263 <DefaultSyntaxHighlighter Value="Delphi"/> 252 264 </Unit21> … … 269 281 <ResourceBaseClass Value="Form"/> 270 282 <UnitName Value="UMessagesForm"/> 271 <WindowIndex Value="0"/> 272 <TopLine Value="11"/> 283 <EditorIndex Value="7"/> 284 <WindowIndex Value="0"/> 285 <TopLine Value="1"/> 273 286 <CursorPos X="38" Y="76"/> 274 287 <UsageCount Value="207"/> 288 <Loaded Value="True"/> 275 289 <DefaultSyntaxHighlighter Value="Delphi"/> 276 290 </Unit23> … … 282 296 <ResourceBaseClass Value="Form"/> 283 297 <UnitName Value="UCompiledForm"/> 284 <WindowIndex Value="0"/> 285 <TopLine Value="5"/> 298 <EditorIndex Value="12"/> 299 <WindowIndex Value="0"/> 300 <TopLine Value="2"/> 286 301 <CursorPos X="28" Y="21"/> 287 302 <UsageCount Value="206"/> 303 <Loaded Value="True"/> 288 304 <DefaultSyntaxHighlighter Value="Delphi"/> 289 305 </Unit24> … … 306 322 <TopLine Value="141"/> 307 323 <CursorPos X="81" Y="154"/> 308 <UsageCount Value=" 24"/>324 <UsageCount Value="19"/> 309 325 </Unit26> 310 326 <Unit27> … … 314 330 <TopLine Value="316"/> 315 331 <CursorPos X="14" Y="329"/> 316 <UsageCount Value="23"/> 332 <UsageCount Value="18"/> 333 <DefaultSyntaxHighlighter Value="Delphi"/> 317 334 </Unit27> 318 335 <Unit28> … … 321 338 <TopLine Value="1762"/> 322 339 <CursorPos X="1" Y="1769"/> 323 <UsageCount Value="23"/> 340 <UsageCount Value="18"/> 341 <DefaultSyntaxHighlighter Value="Delphi"/> 324 342 </Unit28> 325 343 <Unit29> … … 327 345 <IsPartOfProject Value="True"/> 328 346 <UnitName Value="URegistry"/> 347 <EditorIndex Value="14"/> 348 <WindowIndex Value="0"/> 349 <TopLine Value="1"/> 350 <CursorPos X="23" Y="22"/> 329 351 <UsageCount Value="200"/> 352 <Loaded Value="True"/> 330 353 <DefaultSyntaxHighlighter Value="Delphi"/> 331 354 </Unit29> … … 334 357 <IsPartOfProject Value="True"/> 335 358 <UnitName Value="ULastOpenedList"/> 359 <WindowIndex Value="0"/> 360 <TopLine Value="1"/> 361 <CursorPos X="68" Y="11"/> 336 362 <UsageCount Value="200"/> 337 363 <DefaultSyntaxHighlighter Value="Delphi"/> … … 341 367 <IsPartOfProject Value="True"/> 342 368 <UnitName Value="UApplicationInfo"/> 343 <WindowIndex Value="0"/> 344 <TopLine Value="44"/> 369 <EditorIndex Value="5"/> 370 <WindowIndex Value="0"/> 371 <TopLine Value="35"/> 345 372 <CursorPos X="19" Y="58"/> 346 373 <UsageCount Value="200"/> 374 <Loaded Value="True"/> 347 375 <DefaultSyntaxHighlighter Value="Delphi"/> 348 376 </Unit31> … … 350 378 <Filename Value="Compiler\Produce\UProducerDynamicC.pas"/> 351 379 <UnitName Value="UProducerDynamicC"/> 352 <EditorIndex Value="1 "/>380 <EditorIndex Value="17"/> 353 381 <WindowIndex Value="0"/> 354 382 <TopLine Value="270"/> … … 363 391 <TopLine Value="144"/> 364 392 <CursorPos X="56" Y="157"/> 365 <UsageCount Value=" 20"/>393 <UsageCount Value="15"/> 366 394 </Unit33> 367 395 <Unit34> 368 396 <Filename Value="Compiler\Produce\UProducerPascal.pas"/> 369 397 <UnitName Value="UProducerPascal"/> 370 <EditorIndex Value=" 2"/>398 <EditorIndex Value="18"/> 371 399 <WindowIndex Value="0"/> 372 400 <TopLine Value="301"/> 373 401 <CursorPos X="50" Y="314"/> 374 <UsageCount Value=" 18"/>402 <UsageCount Value="46"/> 375 403 <Loaded Value="True"/> 376 404 </Unit34> … … 380 408 <EditorIndex Value="0"/> 381 409 <WindowIndex Value="0"/> 382 <TopLine Value=" 25"/>383 <CursorPos X=" 66" Y="47"/>384 <UsageCount Value=" 85"/>410 <TopLine Value="1"/> 411 <CursorPos X="48" Y="41"/> 412 <UsageCount Value="111"/> 385 413 <Loaded Value="True"/> 386 414 </Unit35> … … 391 419 <TopLine Value="15"/> 392 420 <CursorPos X="1" Y="28"/> 393 <UsageCount Value=" 50"/>421 <UsageCount Value="45"/> 394 422 </Unit36> 395 423 <Unit37> … … 399 427 <TopLine Value="828"/> 400 428 <CursorPos X="27" Y="841"/> 401 <UsageCount Value="26"/> 429 <UsageCount Value="21"/> 430 <DefaultSyntaxHighlighter Value="Delphi"/> 402 431 </Unit37> 403 432 <Unit38> … … 407 436 <TopLine Value="56"/> 408 437 <CursorPos X="3" Y="69"/> 409 <UsageCount Value="0"/> 438 <UsageCount Value="5"/> 439 <DefaultSyntaxHighlighter Value="Delphi"/> 410 440 </Unit38> 411 441 <Unit39> … … 415 445 <TopLine Value="113"/> 416 446 <CursorPos X="3" Y="120"/> 417 <UsageCount Value="0"/> 447 <UsageCount Value="5"/> 448 <DefaultSyntaxHighlighter Value="Delphi"/> 418 449 </Unit39> 419 450 <Unit40> … … 422 453 <TopLine Value="1"/> 423 454 <CursorPos X="24" Y="11"/> 424 <UsageCount Value="0"/> 455 <UsageCount Value="5"/> 456 <DefaultSyntaxHighlighter Value="Delphi"/> 425 457 </Unit40> 426 458 <Unit41> … … 429 461 <TopLine Value="1"/> 430 462 <CursorPos X="17" Y="5"/> 431 <UsageCount Value="1 5"/>463 <UsageCount Value="10"/> 432 464 <DefaultSyntaxHighlighter Value="None"/> 433 465 </Unit41> … … 438 470 <TopLine Value="1"/> 439 471 <CursorPos X="8" Y="8"/> 440 <UsageCount Value="1 5"/>472 <UsageCount Value="10"/> 441 473 </Unit42> 442 474 <Unit43> … … 444 476 <IsPartOfProject Value="True"/> 445 477 <UnitName Value="UDebugLog"/> 446 <WindowIndex Value="0"/> 447 <TopLine Value="36"/> 448 <CursorPos X="30" Y="50"/> 449 <UsageCount Value="76"/> 478 <EditorIndex Value="13"/> 479 <WindowIndex Value="0"/> 480 <TopLine Value="1"/> 481 <CursorPos X="28" Y="22"/> 482 <UsageCount Value="133"/> 483 <Loaded Value="True"/> 450 484 <DefaultSyntaxHighlighter Value="Delphi"/> 451 485 </Unit43> … … 455 489 <TopLine Value="365"/> 456 490 <CursorPos X="5" Y="370"/> 457 <UsageCount Value="30"/> 491 <UsageCount Value="25"/> 492 <DefaultSyntaxHighlighter Value="Delphi"/> 458 493 </Unit44> 459 494 <Unit45> … … 463 498 <TopLine Value="3"/> 464 499 <CursorPos X="6" Y="16"/> 465 <UsageCount Value="9"/> 500 <UsageCount Value="4"/> 501 <DefaultSyntaxHighlighter Value="Delphi"/> 466 502 </Unit45> 467 503 <Unit46> 468 504 <Filename Value="Compiler\Produce\UProducerGCCC.pas"/> 469 505 <UnitName Value="UProducerGCCC"/> 470 <EditorIndex Value=" 5"/>506 <EditorIndex Value="21"/> 471 507 <WindowIndex Value="0"/> 472 508 <TopLine Value="270"/> 473 509 <CursorPos X="30" Y="278"/> 474 <UsageCount Value=" 16"/>510 <UsageCount Value="44"/> 475 511 <Loaded Value="True"/> 476 512 </Unit46> … … 481 517 <TopLine Value="66"/> 482 518 <CursorPos X="14" Y="91"/> 519 <UsageCount Value="5"/> 520 <DefaultSyntaxHighlighter Value="Delphi"/> 521 </Unit47> 522 <Unit48> 523 <Filename Value="Forms\UMainForm.lfm"/> 524 <WindowIndex Value="0"/> 525 <TopLine Value="1"/> 526 <CursorPos X="1" Y="1"/> 527 <UsageCount Value="38"/> 528 <Loaded Value="True"/> 529 <DefaultSyntaxHighlighter Value="LFM"/> 530 </Unit48> 531 <Unit49> 532 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\packages\fcl-registry\src\registry.pp"/> 533 <UnitName Value="registry"/> 534 <EditorIndex Value="15"/> 535 <WindowIndex Value="0"/> 536 <TopLine Value="1"/> 537 <CursorPos X="36" Y="55"/> 538 <UsageCount Value="38"/> 539 <Loaded Value="True"/> 540 <DefaultSyntaxHighlighter Value="Delphi"/> 541 </Unit49> 542 <Unit50> 543 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\packages\fcl-registry\src\regdef.inc"/> 544 <EditorIndex Value="16"/> 545 <WindowIndex Value="0"/> 546 <TopLine Value="1"/> 547 <CursorPos X="3" Y="21"/> 548 <UsageCount Value="38"/> 549 <Loaded Value="True"/> 550 <DefaultSyntaxHighlighter Value="Delphi"/> 551 </Unit50> 552 <Unit51> 553 <Filename Value="..\..\..\..\lazarus\trunk\lcl\interfaces\gtk2\gtk2widgetset.inc"/> 554 <EditorIndex Value="10"/> 555 <WindowIndex Value="0"/> 556 <TopLine Value="1377"/> 557 <CursorPos X="32" Y="1396"/> 558 <UsageCount Value="38"/> 559 <Loaded Value="True"/> 560 </Unit51> 561 <Unit52> 562 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\List\GenericListInterface.tpl"/> 563 <WindowIndex Value="0"/> 564 <TopLine Value="22"/> 565 <CursorPos X="7" Y="47"/> 483 566 <UsageCount Value="10"/> 484 </Unit47> 567 <DefaultSyntaxHighlighter Value="None"/> 568 </Unit52> 569 <Unit53> 570 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\List\GenericListImplementation.tpl"/> 571 <WindowIndex Value="0"/> 572 <TopLine Value="171"/> 573 <CursorPos X="7" Y="200"/> 574 <UsageCount Value="10"/> 575 <DefaultSyntaxHighlighter Value="None"/> 576 </Unit53> 577 <Unit54> 578 <Filename Value="..\..\..\PascalClassLibrary\Generics\TemplateGenerics\Specialized\ListObject.pas"/> 579 <UnitName Value="ListObject"/> 580 <EditorIndex Value="2"/> 581 <WindowIndex Value="0"/> 582 <TopLine Value="39"/> 583 <CursorPos X="7" Y="66"/> 584 <UsageCount Value="11"/> 585 <Loaded Value="True"/> 586 </Unit54> 587 <Unit55> 588 <Filename Value="..\..\..\..\lazarus\trunk\lcl\include\listitem.inc"/> 589 <EditorIndex Value="11"/> 590 <WindowIndex Value="0"/> 591 <TopLine Value="525"/> 592 <CursorPos X="24" Y="548"/> 593 <UsageCount Value="10"/> 594 <Loaded Value="True"/> 595 </Unit55> 596 <Unit56> 597 <Filename Value="..\..\..\PascalClassLibrary\Docking\CoolDocking\UCoolDocking.pas"/> 598 <UnitName Value="UCoolDocking"/> 599 <EditorIndex Value="9"/> 600 <WindowIndex Value="0"/> 601 <TopLine Value="814"/> 602 <CursorPos X="19" Y="828"/> 603 <UsageCount Value="10"/> 604 <Loaded Value="True"/> 605 </Unit56> 485 606 </Units> 486 607 <JumpHistory Count="30" HistoryIndex="29"> 487 608 <Position1> 488 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>489 <Caret Line="1 4" Column="13" TopLine="1"/>609 <Filename Value="Forms\UMainForm.pas"/> 610 <Caret Line="129" Column="1" TopLine="109"/> 490 611 </Position1> 491 612 <Position2> 492 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>493 <Caret Line="13 " Column="17" TopLine="1"/>613 <Filename Value="Forms\UMainForm.pas"/> 614 <Caret Line="130" Column="1" TopLine="109"/> 494 615 </Position2> 495 616 <Position3> 496 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>497 <Caret Line="1 4" Column="1" TopLine="1"/>617 <Filename Value="Forms\UMainForm.pas"/> 618 <Caret Line="131" Column="1" TopLine="109"/> 498 619 </Position3> 499 620 <Position4> 500 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>501 <Caret Line="13 " Column="22" TopLine="1"/>621 <Filename Value="Forms\UMainForm.pas"/> 622 <Caret Line="132" Column="1" TopLine="109"/> 502 623 </Position4> 503 624 <Position5> 504 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>505 <Caret Line=" 575" Column="24" TopLine="559"/>625 <Filename Value="Forms\UMainForm.pas"/> 626 <Caret Line="134" Column="1" TopLine="109"/> 506 627 </Position5> 507 628 <Position6> 508 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>509 <Caret Line=" 668" Column="6" TopLine="648"/>629 <Filename Value="Forms\UMainForm.pas"/> 630 <Caret Line="135" Column="1" TopLine="109"/> 510 631 </Position6> 511 632 <Position7> 512 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>513 <Caret Line=" 446" Column="24" TopLine="439"/>633 <Filename Value="Forms\UMainForm.pas"/> 634 <Caret Line="136" Column="1" TopLine="109"/> 514 635 </Position7> 515 636 <Position8> 516 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>517 <Caret Line=" 487" Column="28" TopLine="480"/>637 <Filename Value="Forms\UMainForm.pas"/> 638 <Caret Line="138" Column="1" TopLine="120"/> 518 639 </Position8> 519 640 <Position9> 520 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>521 <Caret Line=" 575" Column="27" TopLine="560"/>641 <Filename Value="Forms\UMainForm.pas"/> 642 <Caret Line="139" Column="1" TopLine="120"/> 522 643 </Position9> 523 644 <Position10> 524 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>525 <Caret Line=" 624" Column="29" TopLine="615"/>645 <Filename Value="Forms\UMainForm.pas"/> 646 <Caret Line="140" Column="1" TopLine="120"/> 526 647 </Position10> 527 648 <Position11> 528 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>529 <Caret Line=" 612" Column="70" TopLine="599"/>649 <Filename Value="Forms\UMainForm.pas"/> 650 <Caret Line="141" Column="1" TopLine="120"/> 530 651 </Position11> 531 652 <Position12> 532 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>533 <Caret Line=" 649" Column="38" TopLine="635"/>653 <Filename Value="Forms\UMainForm.pas"/> 654 <Caret Line="143" Column="1" TopLine="120"/> 534 655 </Position12> 535 656 <Position13> 536 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>537 <Caret Line=" 627" Column="27" TopLine="623"/>657 <Filename Value="Forms\UMainForm.pas"/> 658 <Caret Line="144" Column="1" TopLine="120"/> 538 659 </Position13> 539 660 <Position14> 540 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>541 <Caret Line=" 612" Column="63" TopLine="611"/>661 <Filename Value="Forms\UMainForm.pas"/> 662 <Caret Line="146" Column="1" TopLine="130"/> 542 663 </Position14> 543 664 <Position15> 544 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>545 <Caret Line=" 36" Column="87" TopLine="24"/>665 <Filename Value="Forms\UMainForm.pas"/> 666 <Caret Line="147" Column="1" TopLine="130"/> 546 667 </Position15> 547 668 <Position16> 548 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>549 <Caret Line=" 575" Column="24" TopLine="562"/>669 <Filename Value="Forms\UMainForm.pas"/> 670 <Caret Line="149" Column="1" TopLine="130"/> 550 671 </Position16> 551 672 <Position17> 552 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>553 <Caret Line=" 613" Column="17" TopLine="609"/>673 <Filename Value="Forms\UMainForm.pas"/> 674 <Caret Line="150" Column="1" TopLine="130"/> 554 675 </Position17> 555 676 <Position18> 556 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>557 <Caret Line=" 652" Column="41" TopLine="638"/>677 <Filename Value="Forms\UMainForm.pas"/> 678 <Caret Line="152" Column="1" TopLine="130"/> 558 679 </Position18> 559 680 <Position19> 560 <Filename Value=" Compiler\USourceCode.pas"/>561 <Caret Line=" 273" Column="27" TopLine="260"/>681 <Filename Value="Forms\UMainForm.pas"/> 682 <Caret Line="154" Column="1" TopLine="140"/> 562 683 </Position19> 563 684 <Position20> 564 <Filename Value=" Compiler\USourceCode.pas"/>565 <Caret Line=" 242" Column="37" TopLine="227"/>685 <Filename Value="Forms\UMainForm.pas"/> 686 <Caret Line="155" Column="1" TopLine="140"/> 566 687 </Position20> 567 688 <Position21> 568 <Filename Value=" Compiler\USourceCode.pas"/>569 <Caret Line=" 237" Column="26" TopLine="224"/>689 <Filename Value="Forms\UMainForm.pas"/> 690 <Caret Line="156" Column="1" TopLine="140"/> 570 691 </Position21> 571 692 <Position22> 572 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>573 <Caret Line=" 652" Column="41" TopLine="638"/>693 <Filename Value="Forms\UMainForm.pas"/> 694 <Caret Line="153" Column="3" TopLine="125"/> 574 695 </Position22> 575 696 <Position23> 576 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>577 <Caret Line=" 656" Column="71" TopLine="641"/>697 <Filename Value="Forms\UMainForm.pas"/> 698 <Caret Line="252" Column="1" TopLine="235"/> 578 699 </Position23> 579 700 <Position24> 580 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>581 <Caret Line=" 619" Column="1" TopLine="600"/>701 <Filename Value="Forms\UMainForm.pas"/> 702 <Caret Line="143" Column="1" TopLine="123"/> 582 703 </Position24> 583 704 <Position25> 584 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>585 <Caret Line=" 471" Column="27" TopLine="463"/>705 <Filename Value="Forms\UMainForm.pas"/> 706 <Caret Line="154" Column="3" TopLine="123"/> 586 707 </Position25> 587 708 <Position26> 588 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>589 <Caret Line=" 579" Column="28" TopLine="574"/>709 <Filename Value="Forms\UMainForm.pas"/> 710 <Caret Line="155" Column="5" TopLine="123"/> 590 711 </Position26> 591 712 <Position27> 592 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>593 <Caret Line=" 47" Column="66" TopLine="25"/>713 <Filename Value="Forms\UMainForm.pas"/> 714 <Caret Line="152" Column="54" TopLine="123"/> 594 715 </Position27> 595 716 <Position28> 596 <Filename Value=" Forms\UMainForm.pas"/>597 <Caret Line=" 267" Column="29" TopLine="255"/>717 <Filename Value="..\..\..\PascalClassLibrary\Docking\CoolDocking\UCoolDocking.pas"/> 718 <Caret Line="155" Column="67" TopLine="138"/> 598 719 </Position28> 599 720 <Position29> 600 <Filename Value=" Forms\UMainForm.pas"/>601 <Caret Line=" 268" Column="29" TopLine="256"/>721 <Filename Value="..\..\..\PascalClassLibrary\Docking\CoolDocking\UCoolDocking.pas"/> 722 <Caret Line="731" Column="17" TopLine="714"/> 602 723 </Position29> 603 724 <Position30> 604 <Filename Value=" Forms\UMainForm.pas"/>605 <Caret Line=" 269" Column="29" TopLine="257"/>725 <Filename Value="..\..\..\PascalClassLibrary\Docking\CoolDocking\UCoolDocking.pas"/> 726 <Caret Line="828" Column="19" TopLine="814"/> 606 727 </Position30> 607 728 </JumpHistory> -
branches/Transpascal/Transpascal.lpr
r76 r82 7 7 cthreads, 8 8 {$ENDIF}{$ENDIF} 9 Forms, CoolDocking, Interfaces, SysUtils,9 Forms, CoolDocking, TemplateGenerics, Interfaces, SysUtils, 10 10 UMainForm in 'UMainForm.pas' {MainForm}, 11 11 UTextSource in 'UTextSource.pas', UProject, UApplicationInfo, URegistry, -
branches/Transpascal/UProject.pas
r69 r82 6 6 7 7 uses 8 Classes, SysUtils, Contnrs, Dialogs, DOM, XMLWrite, XMLRead, FileUtil;8 Classes, SysUtils, ListObject, Dialogs, DOM, XMLWrite, XMLRead, FileUtil; 9 9 10 10 type … … 37 37 38 38 TProjectGroup = class(TProjectNode) 39 Items: T ObjectList;39 Items: TListObject; 40 40 constructor Create; 41 41 destructor Destroy; override; … … 66 66 begin 67 67 inherited; 68 Items := T ObjectList.Create;68 Items := TListObject.Create; 69 69 end; 70 70
Note:
See TracChangeset
for help on using the changeset viewer.