Changeset 9 for trunk/StudioPackage/Forms
- Timestamp:
- Aug 3, 2012, 1:34:09 PM (12 years ago)
- Location:
- trunk/StudioPackage/Forms
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StudioPackage/Forms/UFormMain.lfm
r8 r9 1 1 object FormMain: TFormMain 2 Left = 2 652 Left = 256 3 3 Height = 520 4 Top = 1 444 Top = 122 5 5 Width = 747 6 6 Caption = 'LibreDevelop Studio' … … 391 391 object MenuItem2: TMenuItem 392 392 Caption = 'Edit' 393 object MenuItem36: TMenuItem 394 Action = AUndo 395 end 396 object MenuItem35: TMenuItem 397 Action = ARedo 398 end 399 object MenuItem18: TMenuItem 400 Caption = '-' 401 end 393 402 object MenuItem4: TMenuItem 394 403 Action = AClipboardCopy … … 508 517 } 509 518 end 519 object MenuItem47: TMenuItem 520 Action = ADelete 521 end 510 522 object MenuItem7: TMenuItem 511 523 Action = ASelectAll 524 end 525 end 526 object MenuItem37: TMenuItem 527 Caption = 'Search' 528 object MenuItem38: TMenuItem 529 Action = ASearch 530 end 531 object MenuItem39: TMenuItem 532 Action = ASearchInFiles 533 end 534 object MenuItem40: TMenuItem 535 Action = AFindNext 536 end 537 object MenuItem41: TMenuItem 538 Action = AFindPrevious 539 end 540 object MenuItem42: TMenuItem 541 Caption = '-' 542 end 543 object MenuItem43: TMenuItem 544 Action = AReplace 545 end 546 object MenuItem44: TMenuItem 547 Action = AReplaceInFiles 548 end 549 object MenuItem45: TMenuItem 550 Caption = '-' 551 end 552 object MenuItem46: TMenuItem 553 Action = AGoToLineNumber 512 554 end 513 555 end … … 571 613 } 572 614 end 615 object MenuItem48: TMenuItem 616 Action = AViewModules 617 end 573 618 end 574 619 object MenuItem17: TMenuItem … … 718 763 Caption = 'Close' 719 764 ImageIndex = 3 765 OnExecute = AFileCloseExecute 766 end 767 object AUndo: TAction 768 Category = 'File' 769 Caption = 'Undo' 770 end 771 object ARedo: TAction 772 Category = 'File' 773 Caption = 'Redo' 774 end 775 object ASearch: TAction 776 Category = 'Search' 777 Caption = 'Search' 778 end 779 object AReplace: TAction 780 Category = 'Search' 781 Caption = 'Replace' 782 end 783 object ASearchInFiles: TAction 784 Category = 'Search' 785 Caption = 'Search in files' 786 end 787 object AGoToLineNumber: TAction 788 Category = 'Search' 789 Caption = 'Go to line number...' 790 end 791 object AReplaceInFiles: TAction 792 Category = 'Search' 793 Caption = 'Replace in files' 794 end 795 object AFindNext: TAction 796 Category = 'Search' 797 Caption = 'Find next' 798 ShortCut = 114 799 end 800 object AFindPrevious: TAction 801 Category = 'Search' 802 Caption = 'Find previous' 803 ShortCut = 8306 804 end 805 object ADelete: TAction 806 Category = 'Edit' 807 Caption = 'Delete' 808 end 809 object AViewModules: TAction 810 Caption = 'Modules' 811 OnExecute = AViewModulesExecute 720 812 end 721 813 end -
trunk/StudioPackage/Forms/UFormMain.lrt
r7 r9 10 10 TFORMMAIN.MENUITEM13.CAPTION=- 11 11 TFORMMAIN.MENUITEM2.CAPTION=Edit 12 TFORMMAIN.MENUITEM18.CAPTION=- 13 TFORMMAIN.MENUITEM37.CAPTION=Search 14 TFORMMAIN.MENUITEM42.CAPTION=- 15 TFORMMAIN.MENUITEM45.CAPTION=- 12 16 TFORMMAIN.MENUITEM20.CAPTION=Build 13 17 TFORMMAIN.MENUITEM16.CAPTION=Tools … … 49 53 TFORMMAIN.AFILESAVEAS.CAPTION=Save as... 50 54 TFORMMAIN.AFILECLOSE.CAPTION=Close 55 TFORMMAIN.AUNDO.CAPTION=Undo 56 TFORMMAIN.AREDO.CAPTION=Redo 57 TFORMMAIN.ASEARCH.CAPTION=Search 58 TFORMMAIN.AREPLACE.CAPTION=Replace 59 TFORMMAIN.ASEARCHINFILES.CAPTION=Search in files 60 TFORMMAIN.AGOTOLINENUMBER.CAPTION=Go to line number... 61 TFORMMAIN.AREPLACEINFILES.CAPTION=Replace in files 62 TFORMMAIN.AFINDNEXT.CAPTION=Find next 63 TFORMMAIN.AFINDPREVIOUS.CAPTION=Find previous 64 TFORMMAIN.ADELETE.CAPTION=Delete 65 TFORMMAIN.AVIEWMODULES.CAPTION=Modules -
trunk/StudioPackage/Forms/UFormMain.pas
r8 r9 18 18 ABuild: TAction; 19 19 ABuildClean: TAction; 20 AViewModules: TAction; 21 ADelete: TAction; 22 AFindNext: TAction; 23 AFindPrevious: TAction; 24 AReplaceInFiles: TAction; 25 AGoToLineNumber: TAction; 26 ASearchInFiles: TAction; 27 ASearch: TAction; 28 AReplace: TAction; 29 AUndo: TAction; 30 ARedo: TAction; 20 31 AFileOpenRecent: TAction; 21 32 AFileNew: TAction; … … 50 61 MenuItem16: TMenuItem; 51 62 MenuItem17: TMenuItem; 63 MenuItem18: TMenuItem; 52 64 MenuItem19: TMenuItem; 53 65 MenuItem2: TMenuItem; … … 68 80 MenuItem33: TMenuItem; 69 81 MenuItem34: TMenuItem; 82 MenuItem35: TMenuItem; 83 MenuItem36: TMenuItem; 84 MenuItem37: TMenuItem; 85 MenuItem38: TMenuItem; 86 MenuItem39: TMenuItem; 70 87 MenuItem4: TMenuItem; 88 MenuItem40: TMenuItem; 89 MenuItem41: TMenuItem; 90 MenuItem42: TMenuItem; 91 MenuItem43: TMenuItem; 92 MenuItem44: TMenuItem; 93 MenuItem45: TMenuItem; 94 MenuItem46: TMenuItem; 95 MenuItem47: TMenuItem; 96 MenuItem48: TMenuItem; 71 97 MenuItem5: TMenuItem; 72 98 MenuItem6: TMenuItem; … … 93 119 ToolButton4: TToolButton; 94 120 procedure AExitExecute(Sender: TObject); 121 procedure AFileCloseExecute(Sender: TObject); 95 122 procedure AFileOpenExecute(Sender: TObject); 123 procedure AViewModulesExecute(Sender: TObject); 96 124 procedure AViewProjectManagerExecute(Sender: TObject); 97 125 procedure AViewSettingsExecute(Sender: TObject); … … 112 140 113 141 uses 114 UFormProject, UFormSourceCode, UFormSettings ;142 UFormProject, UFormSourceCode, UFormSettings, UFormModuleList; 115 143 116 144 { TFormMain } … … 119 147 begin 120 148 Application.Terminate; 149 end; 150 151 procedure TFormMain.AFileCloseExecute(Sender: TObject); 152 begin 153 // DataModule1.OpenedFiles.Close(DataModule1.OpenedFiles.Selected); 121 154 end; 122 155 … … 127 160 DataModule1.OpenedFiles.OpenFile(OpenDialogFile.FileName); 128 161 end; 162 end; 163 164 procedure TFormMain.AViewModulesExecute(Sender: TObject); 165 begin 166 FormModuleList.ModuleManager := DataModule1.ModuleManager; 167 FormModuleList.Show; 129 168 end; 130 169
Note:
See TracChangeset
for help on using the changeset viewer.