Changeset 61
- Timestamp:
- Oct 14, 2010, 2:30:40 PM (14 years ago)
- Location:
- branches
- Files:
-
- 6 added
- 2 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Syntetizer/Syntetizer.lpi
r33 r61 3 3 <ProjectOptions> 4 4 <PathDelim Value="\"/> 5 <Version Value=" 7"/>5 <Version Value="8"/> 6 6 <General> 7 7 <MainUnit Value="0"/> 8 8 <TargetFileExt Value=".exe"/> 9 <ResourceType Value="res"/> 10 <UseXPManifest Value="True"/> 9 11 <Icon Value="0"/> 10 <UseXPManifest Value="True"/> 11 <ActiveEditorIndexAtStart Value="2"/> 12 <ActiveWindowIndexAtStart Value="0"/> 12 13 </General> 13 14 <VersionInfo> 14 <ProjectVersion Value=""/>15 15 <Language Value=""/> 16 16 <CharSet Value=""/> 17 <StringTable Comments="" CompanyName="" FileDescription="" FileVersion="0.0.0.0" InternalName="" LegalCopyright="" LegalTrademarks="" OriginalFilename="" ProductName="" ProductVersion=""/> 17 18 </VersionInfo> 18 19 <PublishOptions> … … 33 34 </Item1> 34 35 </RequiredPackages> 35 <Units Count=" 4">36 <Units Count="5"> 36 37 <Unit0> 37 38 <Filename Value="Syntetizer.lpr"/> 38 39 <IsPartOfProject Value="True"/> 39 40 <UnitName Value="Syntetizer"/> 40 <CursorPos X="1" Y="11"/> 41 <EditorIndex Value="1"/> 42 <WindowIndex Value="0"/> 41 43 <TopLine Value="1"/> 42 < EditorIndex Value="1"/>44 <CursorPos X="28" Y="12"/> 43 45 <UsageCount Value="20"/> 44 46 <Loaded Value="True"/> 47 <LoadedDesigner Value="True"/> 48 <DefaultSyntaxHighlighter Value="Delphi"/> 45 49 </Unit0> 46 50 <Unit1> … … 50 54 <ResourceBaseClass Value="Form"/> 51 55 <UnitName Value="UMainForm"/> 52 <CursorPos X="8" Y="3"/> 53 <TopLine Value="1"/> 56 <IsVisibleTab Value="True"/> 54 57 <EditorIndex Value="0"/> 58 <WindowIndex Value="0"/> 59 <TopLine Value="19"/> 60 <CursorPos X="35" Y="34"/> 55 61 <UsageCount Value="20"/> 56 62 <Loaded Value="True"/> 63 <LoadedDesigner Value="True"/> 64 <DefaultSyntaxHighlighter Value="Delphi"/> 57 65 </Unit1> 58 66 <Unit2> … … 60 68 <IsPartOfProject Value="True"/> 61 69 <UnitName Value="USyntetizer"/> 62 <CursorPos X="58" Y="37"/>63 <TopLine Value="21"/>64 70 <EditorIndex Value="2"/> 71 <WindowIndex Value="0"/> 72 <TopLine Value="72"/> 73 <CursorPos X="16" Y="64"/> 65 74 <UsageCount Value="20"/> 66 75 <Loaded Value="True"/> 76 <DefaultSyntaxHighlighter Value="Delphi"/> 67 77 </Unit2> 68 78 <Unit3> 69 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.28\fpc\2.2.4\source\rtl\objpas\classes\classesh.inc"/> 79 <Filename Value="E:\Programy\Lazarus_0.9.28\fpc\2.2.4\source\rtl\objpas\classes\classesh.inc"/> 80 <WindowIndex Value="0"/> 81 <TopLine Value="1"/> 70 82 <CursorPos X="3" Y="234"/> 83 <UsageCount Value="10"/> 84 <DefaultSyntaxHighlighter Value="Delphi"/> 85 </Unit3> 86 <Unit4> 87 <Filename Value="Syntetizer.lrs"/> 88 <WindowIndex Value="0"/> 71 89 <TopLine Value="1"/> 72 < EditorIndex Value="3"/>90 <CursorPos X="17" Y="1"/> 73 91 <UsageCount Value="10"/> 74 < Loaded Value="True"/>75 </Unit 3>92 <DefaultSyntaxHighlighter Value="Delphi"/> 93 </Unit4> 76 94 </Units> 77 <JumpHistory Count=" 30" HistoryIndex="29">95 <JumpHistory Count="29" HistoryIndex="28"> 78 96 <Position1> 79 97 <Filename Value="USyntetizer.pas"/> 80 <Caret Line="3 6" Column="1" TopLine="15"/>98 <Caret Line="30" Column="3" TopLine="14"/> 81 99 </Position1> 82 100 <Position2> 83 101 <Filename Value="USyntetizer.pas"/> 84 <Caret Line=" 296" Column="10" TopLine="266"/>102 <Caret Line="313" Column="5" TopLine="297"/> 85 103 </Position2> 86 104 <Position3> 87 105 <Filename Value="USyntetizer.pas"/> 88 <Caret Line=" 293" Column="10" TopLine="271"/>106 <Caret Line="54" Column="18" TopLine="38"/> 89 107 </Position3> 90 108 <Position4> 91 109 <Filename Value="USyntetizer.pas"/> 92 <Caret Line=" 291" Column="18" TopLine="271"/>110 <Caret Line="33" Column="51" TopLine="14"/> 93 111 </Position4> 94 112 <Position5> 95 113 <Filename Value="USyntetizer.pas"/> 96 <Caret Line=" 278" Column="5" TopLine="270"/>114 <Caret Line="313" Column="17" TopLine="297"/> 97 115 </Position5> 98 116 <Position6> 99 <Filename Value="U Syntetizer.pas"/>100 <Caret Line=" 33" Column="11" TopLine="17"/>117 <Filename Value="UMainForm.pas"/> 118 <Caret Line="53" Column="20" TopLine="43"/> 101 119 </Position6> 102 120 <Position7> 103 121 <Filename Value="USyntetizer.pas"/> 104 <Caret Line=" 74" Column="1" TopLine="44"/>122 <Caret Line="85" Column="23" TopLine="69"/> 105 123 </Position7> 106 124 <Position8> 107 125 <Filename Value="USyntetizer.pas"/> 108 <Caret Line=" 283" Column="16" TopLine="269"/>126 <Caret Line="325" Column="15" TopLine="313"/> 109 127 </Position8> 110 128 <Position9> 111 129 <Filename Value="USyntetizer.pas"/> 112 <Caret Line=" 276" Column="24" TopLine="260"/>130 <Caret Line="327" Column="35" TopLine="315"/> 113 131 </Position9> 114 132 <Position10> 115 133 <Filename Value="USyntetizer.pas"/> 116 <Caret Line=" 136" Column="7" TopLine="129"/>134 <Caret Line="312" Column="23" TopLine="304"/> 117 135 </Position10> 118 136 <Position11> 119 137 <Filename Value="USyntetizer.pas"/> 120 <Caret Line="6 5" Column="43" TopLine="40"/>138 <Caret Line="67" Column="48" TopLine="54"/> 121 139 </Position11> 122 140 <Position12> 123 141 <Filename Value="USyntetizer.pas"/> 124 <Caret Line=" 325" Column="51" TopLine="306"/>142 <Caret Line="72" Column="53" TopLine="58"/> 125 143 </Position12> 126 144 <Position13> 127 <Filename Value="U Syntetizer.pas"/>128 <Caret Line=" 153" Column="31" TopLine="137"/>145 <Filename Value="UMainForm.pas"/> 146 <Caret Line="51" Column="20" TopLine="46"/> 129 147 </Position13> 130 148 <Position14> 131 <Filename Value="U Syntetizer.pas"/>132 <Caret Line=" 313" Column="7" TopLine="297"/>149 <Filename Value="UMainForm.pas"/> 150 <Caret Line="59" Column="95" TopLine="44"/> 133 151 </Position14> 134 152 <Position15> 135 153 <Filename Value="USyntetizer.pas"/> 136 <Caret Line=" 54" Column="15" TopLine="38"/>154 <Caret Line="194" Column="18" TopLine="176"/> 137 155 </Position15> 138 156 <Position16> 139 <Filename Value=" USyntetizer.pas"/>140 <Caret Line=" 30" Column="3" TopLine="14"/>157 <Filename Value="Syntetizer.lpr"/> 158 <Caret Line="18" Column="1" TopLine="1"/> 141 159 </Position16> 142 160 <Position17> 143 <Filename Value=" USyntetizer.pas"/>144 <Caret Line=" 313" Column="5" TopLine="297"/>161 <Filename Value="Syntetizer.lpr"/> 162 <Caret Line="13" Column="31" TopLine="1"/> 145 163 </Position17> 146 164 <Position18> 147 <Filename Value=" USyntetizer.pas"/>148 <Caret Line=" 54" Column="18" TopLine="38"/>165 <Filename Value="Syntetizer.lpr"/> 166 <Caret Line="18" Column="16" TopLine="1"/> 149 167 </Position18> 150 168 <Position19> 151 <Filename Value=" USyntetizer.pas"/>152 <Caret Line=" 33" Column="51" TopLine="14"/>169 <Filename Value="Syntetizer.lpr"/> 170 <Caret Line="17" Column="1" TopLine="1"/> 153 171 </Position19> 154 172 <Position20> 155 <Filename Value=" USyntetizer.pas"/>156 <Caret Line=" 313" Column="17" TopLine="297"/>173 <Filename Value="Syntetizer.lpr"/> 174 <Caret Line="21" Column="1" TopLine="1"/> 157 175 </Position20> 158 176 <Position21> 159 <Filename Value=" UMainForm.pas"/>160 <Caret Line=" 53" Column="20" TopLine="43"/>177 <Filename Value="Syntetizer.lpr"/> 178 <Caret Line="13" Column="48" TopLine="1"/> 161 179 </Position21> 162 180 <Position22> 163 <Filename Value=" USyntetizer.pas"/>164 <Caret Line=" 85" Column="23" TopLine="69"/>181 <Filename Value="Syntetizer.lpr"/> 182 <Caret Line="21" Column="1" TopLine="1"/> 165 183 </Position22> 166 184 <Position23> 167 185 <Filename Value="USyntetizer.pas"/> 168 <Caret Line="3 25" Column="15" TopLine="313"/>186 <Caret Line="345" Column="14" TopLine="326"/> 169 187 </Position23> 170 188 <Position24> 171 <Filename Value=" USyntetizer.pas"/>172 <Caret Line=" 327" Column="35" TopLine="315"/>189 <Filename Value="Syntetizer.lpr"/> 190 <Caret Line="21" Column="1" TopLine="1"/> 173 191 </Position24> 174 192 <Position25> 175 <Filename Value="U Syntetizer.pas"/>176 <Caret Line=" 312" Column="23" TopLine="304"/>193 <Filename Value="UMainForm.pas"/> 194 <Caret Line="79" Column="28" TopLine="70"/> 177 195 </Position25> 178 196 <Position26> 179 <Filename Value="U Syntetizer.pas"/>180 <Caret Line=" 67" Column="48" TopLine="54"/>197 <Filename Value="UMainForm.pas"/> 198 <Caret Line="78" Column="28" TopLine="69"/> 181 199 </Position26> 182 200 <Position27> 183 <Filename Value=" USyntetizer.pas"/>184 <Caret Line=" 72" Column="53" TopLine="58"/>201 <Filename Value="Syntetizer.lpr"/> 202 <Caret Line="14" Column="1" TopLine="1"/> 185 203 </Position27> 186 204 <Position28> 187 <Filename Value="U MainForm.pas"/>188 <Caret Line=" 51" Column="20" TopLine="46"/>205 <Filename Value="USyntetizer.pas"/> 206 <Caret Line="88" Column="24" TopLine="78"/> 189 207 </Position28> 190 208 <Position29> 191 <Filename Value="U MainForm.pas"/>192 <Caret Line=" 59" Column="95" TopLine="44"/>209 <Filename Value="USyntetizer.pas"/> 210 <Caret Line="89" Column="21" TopLine="78"/> 193 211 </Position29> 194 <Position30>195 <Filename Value="USyntetizer.pas"/>196 <Caret Line="194" Column="18" TopLine="176"/>197 </Position30>198 212 </JumpHistory> 199 213 </ProjectOptions> 200 214 <CompilerOptions> 201 <Version Value=" 8"/>215 <Version Value="9"/> 202 216 <PathDelim Value="\"/> 203 217 <SearchPaths> … … 205 219 <UnitOutputDirectory Value="bin"/> 206 220 </SearchPaths> 221 <Parsing> 222 <SyntaxOptions> 223 <SyntaxMode Value="Delphi"/> 224 <UseAnsiStrings Value="False"/> 225 </SyntaxOptions> 226 </Parsing> 207 227 <CodeGeneration> 208 228 <Checks> … … 214 234 </CodeGeneration> 215 235 <Linking> 236 <Debugging> 237 <GenerateDebugInfo Value="True"/> 238 <GenerateDwarf Value="True"/> 239 <UseHeaptrc Value="True"/> 240 </Debugging> 216 241 <Options> 217 242 <Win32> … … 221 246 </Linking> 222 247 <Other> 248 <Verbosity> 249 <ShoLineNum Value="True"/> 250 </Verbosity> 251 <CompilerMessages> 252 <UseMsgFile Value="True"/> 253 </CompilerMessages> 223 254 <CompilerPath Value="$(CompPath)"/> 224 255 </Other> -
branches/Syntetizer/Syntetizer.lpr
r26 r61 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, UMainForm, LResources, USyntetizer10 Forms, SysUtils, UMainForm, USyntetizer 11 11 { you can add units after this }; 12 12 … … 14 14 15 15 begin 16 {$I Syntetizer.lrs} 16 // Heap trace 17 DeleteFile(ExtractFilePath(ParamStr(0)) + 'heaptrclog.trc'); 18 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + 'heaptrclog.trc'); 19 17 20 Application.Initialize; 18 21 Application.CreateForm(TMainForm, MainForm); -
branches/Syntetizer/UMainForm.lfm
r26 r61 1 1 object MainForm: TMainForm 2 Left = 5922 Left = 485 3 3 Height = 365 4 Top = 1 524 Top = 128 5 5 Width = 406 6 6 Caption = 'MainForm' … … 10 10 OnDestroy = FormDestroy 11 11 OnShow = FormShow 12 LCLVersion = '0.9.2 8'12 LCLVersion = '0.9.29' 13 13 object Memo1: TMemo 14 Left = 515 Height = 3 5014 Left = 7 15 Height = 345 16 16 Top = 8 17 17 Width = 393 18 Anchors = [akTop, akLeft, akRight, akBottom] 19 ScrollBars = ssAutoBoth 18 Lines.Strings = ( 19 'Memo1' 20 ) 20 21 TabOrder = 0 21 22 end -
branches/Syntetizer/UMainForm.lrs
r27 r61 1 { This is an automatically generated lazarus resource file } 2 1 3 LazarusResources.Add('TMainForm','FORMDATA',[ 2 'TPF0'#9'TMainForm'#8'MainForm'#4'Left'#3'P'#2#6'Height'#3'm'#1#3'Top'#3#152#0 3 +#5'Width'#3#150#1#7'Caption'#6#8'MainForm'#12'ClientHeight'#3'm'#1#11'Client' 4 +'Width'#3#150#1#8'OnCreate'#7#10'FormCreate'#9'OnDestroy'#7#11'FormDestroy'#6 5 +'OnShow'#7#8'FormShow'#10'LCLVersion'#6#6'0.9.28'#0#5'TMemo'#5'Memo1'#4'Left' 6 +#2#5#6'Height'#3'^'#1#3'Top'#2#8#5'Width'#3#137#1#7'Anchors'#11#5'akTop'#6'a' 7 +'kLeft'#7'akRight'#8'akBottom'#0#10'ScrollBars'#7#10'ssAutoBoth'#8'TabOrder' 8 +#2#0#0#0#0 4 'TPF0'#9'TMainForm'#8'MainForm'#4'Left'#3#229#1#6'Height'#3'm'#1#3'Top'#3#128 5 +#0#5'Width'#3#150#1#7'Caption'#6#8'MainForm'#12'ClientHeight'#3'm'#1#11'Clie' 6 +'ntWidth'#3#150#1#8'OnCreate'#7#10'FormCreate'#9'OnDestroy'#7#11'FormDestroy' 7 +#6'OnShow'#7#8'FormShow'#10'LCLVersion'#6#6'0.9.29'#0#5'TMemo'#5'Memo1'#4'Le' 8 +'ft'#2#7#6'Height'#3'Y'#1#3'Top'#2#8#5'Width'#3#137#1#13'Lines.Strings'#1#6#5 9 +'Memo1'#0#8'TabOrder'#2#0#0#0#0 9 10 ]); -
branches/Syntetizer/USyntetizer.pas
r33 r61 6 6 7 7 uses 8 Classes, SysUtils ;8 Classes, SysUtils, Contnrs; 9 9 10 10 type … … 29 29 30 30 TBeginEnd = class(TCommand) 31 Commands: T List; // TList<ICommand>31 Commands: TObjectList; // TObjectList<ICommand> 32 32 LastEnd: Boolean; 33 33 procedure Syntetize(Syntetizer: TSyntetizer); override; … … 43 43 44 44 TVariableSection = class(TInterfacedObject, ISyntetizable) 45 Variables: T List; // TList<TVariableDeclaration>45 Variables: TObjectList; // TObjectList<TVariableDeclaration> 46 46 procedure Syntetize(Syntetizer: TSyntetizer); 47 47 constructor Create; … … 51 51 TProcedure = class(TInterfacedObject, ISyntetizable) 52 52 Name: string; 53 Parameters: T List;53 Parameters: TObjectList; 54 54 Code: TBeginEnd; 55 55 constructor Create; … … 59 59 60 60 TProcedureList = class(TInterfacedObject, ISyntetizable) 61 Procedures: T List; // TList<TProcedure>61 Procedures: TObjectList; // TObjectList<TProcedure> 62 62 procedure Syntetize(Syntetizer: TSyntetizer); 63 63 constructor Create; … … 76 76 TProcedureCall = class(TCommand) 77 77 Name: string; 78 Parameters: T List; // TList<TProcedureParameter>78 Parameters: TObjectList; // TObjectList<TProcedureParameter> 79 79 constructor Create; 80 80 destructor Destroy; override; … … 84 84 TProgram = class(TInterfacedObject, ISyntetizable) 85 85 Name: string; 86 Code: TBegin end;87 CompilerDirectives: T List; // TList<TCompilerDirective>86 Code: TBeginEnd; 87 CompilerDirectives: TObjectList; // TList<TCompilerDirective> 88 88 Procedures: TProcedureList; // TList<TProcedure> 89 89 Variables: TVariableSection; … … 154 154 constructor TProgram.Create; 155 155 begin 156 CompilerDirectives := T List.Create;156 CompilerDirectives := TObjectList.Create; 157 157 Variables := TVariableSection.Create; 158 158 Procedures := TProcedureList.Create; … … 162 162 163 163 destructor TProgram.Destroy; 164 var165 I: Integer;166 164 begin 167 165 Procedures.Destroy; 168 166 Variables.Destroy; 169 for I := 0 to CompilerDirectives.Count - 1 do170 TCompilerDirective(CompilerDirectives[I]).Destroy;171 167 Code.Destroy; 168 CompilerDirectives.Destroy; 172 169 inherited Destroy; 173 170 end; … … 192 189 constructor TBeginEnd.Create; 193 190 begin 194 Commands := T List.Create;191 Commands := TObjectList.Create; 195 192 end; 196 193 197 194 destructor TBeginEnd.Destroy; 198 var 199 I: Integer; 200 begin 201 for I := 0 to Commands.Count - 1 do 202 TCommand(Commands[I]).Destroy; 195 begin 203 196 Commands.Destroy; 204 197 inherited Destroy; … … 209 202 constructor TProcedureCall.Create; 210 203 begin 211 Parameters := T List.Create;204 Parameters := TObjectList.Create; 212 205 end; 213 206 214 207 destructor TProcedureCall.Destroy; 215 var 216 I: Integer; 217 begin 218 for I := 0 to Parameters.Count - 1 do 219 TProcedureParameter(Parameters[I]).Destroy; 208 begin 220 209 Parameters.Destroy; 221 210 inherited Destroy; … … 272 261 constructor TVariableSection.Create; 273 262 begin 274 Variables := T List.Create;263 Variables := TObjectList.Create; 275 264 end; 276 265 277 266 destructor TVariableSection.Destroy; 278 var 279 I: Integer; 280 begin 281 for I := 0 to Variables.Count - 1 do 282 TVariableDeclaration(Variables[I]).Destroy; 267 begin 283 268 Variables.Destroy; 284 269 inherited Destroy; … … 289 274 constructor TProcedure.Create; 290 275 begin 291 Parameters := T List.Create;276 Parameters := TObjectList.Create; 292 277 Code := TBeginEnd.Create; 293 278 end; 294 279 295 280 destructor TProcedure.Destroy; 296 var297 I: Integer;298 281 begin 299 282 Code.Destroy; 300 //for I := 0 to Parameters.Count - 1 do301 // TParameter(Parameters[I]).Destroy;302 283 Parameters.Destroy; 303 284 inherited Destroy; … … 309 290 ParameterString: string; 310 291 begin 292 ParameterString := ''; 311 293 with Syntetizer do begin 312 294 for I := 0 to Parameters.Count - 1 do … … 335 317 constructor TProcedureList.Create; 336 318 begin 337 Procedures := T List.Create;319 Procedures := TObjectList.Create; 338 320 end; 339 321 340 322 destructor TProcedureList.Destroy; 341 var 342 I: Integer; 343 begin 344 for I := 0 to Procedures.Count - 1 do 345 TProcedure(Procedures[I]).Destroy; 323 begin 346 324 Procedures.Destroy; 347 325 inherited Destroy; -
branches/Transpascal/Forms/UMainForm.lfm
r60 r61 5 5 Width = 861 6 6 Caption = 'Transpascal IDE' 7 ClientHeight = 4857 ClientHeight = 504 8 8 ClientWidth = 861 9 9 Font.Height = -11 … … 16 16 Position = poDesktopCenter 17 17 LCLVersion = '0.9.29' 18 object Panel2: TPanel19 Left = 020 Height = 32021 Top = 022 Width = 86123 Align = alClient24 BevelOuter = bvNone25 ClientHeight = 32026 ClientWidth = 86127 TabOrder = 028 object TreeViewProject: TTreeView29 Left = 030 Height = 32031 Top = 032 Width = 23333 Align = alLeft34 DefaultItemHeight = 1535 ReadOnly = True36 TabOrder = 037 OnChange = TreeViewProjectChange38 Options = [tvoAutoItemHeight, tvoHideSelection, tvoKeepCollapsedNodes, tvoReadOnly, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoToolTips, tvoThemedDraw]39 end40 object Splitter1: TSplitter41 Left = 23342 Height = 32043 Top = 044 Width = 545 end46 inline SynEditSource: TSynEdit47 Left = 23848 Height = 32049 Top = 050 Width = 36451 Align = alLeft52 Font.Height = -1353 Font.Name = 'Courier New'54 Font.Pitch = fpFixed55 Font.Quality = fqNonAntialiased56 ParentColor = False57 ParentFont = False58 TabOrder = 259 Gutter.Width = 5760 Gutter.MouseActions = <61 item62 Shift = []63 ShiftMask = []64 Button = mbLeft65 ClickCount = ccAny66 ClickDir = cdDown67 Command = 1368 MoveCaret = False69 Option = 070 Priority = 071 end72 item73 Shift = []74 ShiftMask = []75 Button = mbRight76 ClickCount = ccSingle77 ClickDir = cdUp78 Command = 1279 MoveCaret = False80 Option = 081 Priority = 082 end>83 RightGutter.Width = 084 RightGutter.MouseActions = <85 item86 Shift = []87 ShiftMask = []88 Button = mbLeft89 ClickCount = ccAny90 ClickDir = cdDown91 Command = 1392 MoveCaret = False93 Option = 094 Priority = 095 end96 item97 Shift = []98 ShiftMask = []99 Button = mbRight100 ClickCount = ccSingle101 ClickDir = cdUp102 Command = 12103 MoveCaret = False104 Option = 0105 Priority = 0106 end>107 Highlighter = SynPasSyn1108 Keystrokes = <109 item110 Command = ecUp111 ShortCut = 38112 end113 item114 Command = ecSelUp115 ShortCut = 8230116 end117 item118 Command = ecScrollUp119 ShortCut = 16422120 end121 item122 Command = ecDown123 ShortCut = 40124 end125 item126 Command = ecSelDown127 ShortCut = 8232128 end129 item130 Command = ecScrollDown131 ShortCut = 16424132 end133 item134 Command = ecLeft135 ShortCut = 37136 end137 item138 Command = ecSelLeft139 ShortCut = 8229140 end141 item142 Command = ecWordLeft143 ShortCut = 16421144 end145 item146 Command = ecSelWordLeft147 ShortCut = 24613148 end149 item150 Command = ecRight151 ShortCut = 39152 end153 item154 Command = ecSelRight155 ShortCut = 8231156 end157 item158 Command = ecWordRight159 ShortCut = 16423160 end161 item162 Command = ecSelWordRight163 ShortCut = 24615164 end165 item166 Command = ecPageDown167 ShortCut = 34168 end169 item170 Command = ecSelPageDown171 ShortCut = 8226172 end173 item174 Command = ecPageBottom175 ShortCut = 16418176 end177 item178 Command = ecSelPageBottom179 ShortCut = 24610180 end181 item182 Command = ecPageUp183 ShortCut = 33184 end185 item186 Command = ecSelPageUp187 ShortCut = 8225188 end189 item190 Command = ecPageTop191 ShortCut = 16417192 end193 item194 Command = ecSelPageTop195 ShortCut = 24609196 end197 item198 Command = ecLineStart199 ShortCut = 36200 end201 item202 Command = ecSelLineStart203 ShortCut = 8228204 end205 item206 Command = ecEditorTop207 ShortCut = 16420208 end209 item210 Command = ecSelEditorTop211 ShortCut = 24612212 end213 item214 Command = ecLineEnd215 ShortCut = 35216 end217 item218 Command = ecSelLineEnd219 ShortCut = 8227220 end221 item222 Command = ecEditorBottom223 ShortCut = 16419224 end225 item226 Command = ecSelEditorBottom227 ShortCut = 24611228 end229 item230 Command = ecToggleMode231 ShortCut = 45232 end233 item234 Command = ecCopy235 ShortCut = 16429236 end237 item238 Command = ecPaste239 ShortCut = 8237240 end241 item242 Command = ecDeleteChar243 ShortCut = 46244 end245 item246 Command = ecCut247 ShortCut = 8238248 end249 item250 Command = ecDeleteLastChar251 ShortCut = 8252 end253 item254 Command = ecDeleteLastChar255 ShortCut = 8200256 end257 item258 Command = ecDeleteLastWord259 ShortCut = 16392260 end261 item262 Command = ecUndo263 ShortCut = 32776264 end265 item266 Command = ecRedo267 ShortCut = 40968268 end269 item270 Command = ecLineBreak271 ShortCut = 13272 end273 item274 Command = ecSelectAll275 ShortCut = 16449276 end277 item278 Command = ecCopy279 ShortCut = 16451280 end281 item282 Command = ecBlockIndent283 ShortCut = 24649284 end285 item286 Command = ecLineBreak287 ShortCut = 16461288 end289 item290 Command = ecInsertLine291 ShortCut = 16462292 end293 item294 Command = ecDeleteWord295 ShortCut = 16468296 end297 item298 Command = ecBlockUnindent299 ShortCut = 24661300 end301 item302 Command = ecPaste303 ShortCut = 16470304 end305 item306 Command = ecCut307 ShortCut = 16472308 end309 item310 Command = ecDeleteLine311 ShortCut = 16473312 end313 item314 Command = ecDeleteEOL315 ShortCut = 24665316 end317 item318 Command = ecUndo319 ShortCut = 16474320 end321 item322 Command = ecRedo323 ShortCut = 24666324 end325 item326 Command = ecGotoMarker0327 ShortCut = 16432328 end329 item330 Command = ecGotoMarker1331 ShortCut = 16433332 end333 item334 Command = ecGotoMarker2335 ShortCut = 16434336 end337 item338 Command = ecGotoMarker3339 ShortCut = 16435340 end341 item342 Command = ecGotoMarker4343 ShortCut = 16436344 end345 item346 Command = ecGotoMarker5347 ShortCut = 16437348 end349 item350 Command = ecGotoMarker6351 ShortCut = 16438352 end353 item354 Command = ecGotoMarker7355 ShortCut = 16439356 end357 item358 Command = ecGotoMarker8359 ShortCut = 16440360 end361 item362 Command = ecGotoMarker9363 ShortCut = 16441364 end365 item366 Command = ecSetMarker0367 ShortCut = 24624368 end369 item370 Command = ecSetMarker1371 ShortCut = 24625372 end373 item374 Command = ecSetMarker2375 ShortCut = 24626376 end377 item378 Command = ecSetMarker3379 ShortCut = 24627380 end381 item382 Command = ecSetMarker4383 ShortCut = 24628384 end385 item386 Command = ecSetMarker5387 ShortCut = 24629388 end389 item390 Command = ecSetMarker6391 ShortCut = 24630392 end393 item394 Command = ecSetMarker7395 ShortCut = 24631396 end397 item398 Command = ecSetMarker8399 ShortCut = 24632400 end401 item402 Command = ecSetMarker9403 ShortCut = 24633404 end405 item406 Command = EcFoldLevel1407 ShortCut = 41009408 end409 item410 Command = EcFoldLevel2411 ShortCut = 41010412 end413 item414 Command = EcFoldLevel1415 ShortCut = 41011416 end417 item418 Command = EcFoldLevel1419 ShortCut = 41012420 end421 item422 Command = EcFoldLevel1423 ShortCut = 41013424 end425 item426 Command = EcFoldLevel6427 ShortCut = 41014428 end429 item430 Command = EcFoldLevel7431 ShortCut = 41015432 end433 item434 Command = EcFoldLevel8435 ShortCut = 41016436 end437 item438 Command = EcFoldLevel9439 ShortCut = 41017440 end441 item442 Command = EcFoldLevel0443 ShortCut = 41008444 end445 item446 Command = EcFoldCurrent447 ShortCut = 41005448 end449 item450 Command = EcUnFoldCurrent451 ShortCut = 41003452 end453 item454 Command = EcToggleMarkupWord455 ShortCut = 32845456 end457 item458 Command = ecNormalSelect459 ShortCut = 24654460 end461 item462 Command = ecColumnSelect463 ShortCut = 24643464 end465 item466 Command = ecLineSelect467 ShortCut = 24652468 end469 item470 Command = ecTab471 ShortCut = 9472 end473 item474 Command = ecShiftTab475 ShortCut = 8201476 end477 item478 Command = ecMatchBracket479 ShortCut = 24642480 end481 item482 Command = ecColSelUp483 ShortCut = 40998484 end485 item486 Command = ecColSelDown487 ShortCut = 41000488 end489 item490 Command = ecColSelLeft491 ShortCut = 40997492 end493 item494 Command = ecColSelRight495 ShortCut = 40999496 end497 item498 Command = ecColSelPageDown499 ShortCut = 40994500 end501 item502 Command = ecColSelPageBottom503 ShortCut = 57378504 end505 item506 Command = ecColSelPageUp507 ShortCut = 40993508 end509 item510 Command = ecColSelPageTop511 ShortCut = 57377512 end513 item514 Command = ecColSelLineStart515 ShortCut = 40996516 end517 item518 Command = ecColSelLineEnd519 ShortCut = 40995520 end521 item522 Command = ecColSelEditorTop523 ShortCut = 57380524 end525 item526 Command = ecColSelEditorBottom527 ShortCut = 57379528 end>529 MouseActions = <530 item531 Shift = []532 ShiftMask = [ssShift, ssAlt]533 Button = mbLeft534 ClickCount = ccSingle535 ClickDir = cdDown536 Command = 1537 MoveCaret = True538 Option = 0539 Priority = 0540 end541 item542 Shift = [ssShift]543 ShiftMask = [ssShift, ssAlt]544 Button = mbLeft545 ClickCount = ccSingle546 ClickDir = cdDown547 Command = 1548 MoveCaret = True549 Option = 1550 Priority = 0551 end552 item553 Shift = [ssAlt]554 ShiftMask = [ssShift, ssAlt]555 Button = mbLeft556 ClickCount = ccSingle557 ClickDir = cdDown558 Command = 3559 MoveCaret = True560 Option = 0561 Priority = 0562 end563 item564 Shift = [ssShift, ssAlt]565 ShiftMask = [ssShift, ssAlt]566 Button = mbLeft567 ClickCount = ccSingle568 ClickDir = cdDown569 Command = 3570 MoveCaret = True571 Option = 1572 Priority = 0573 end574 item575 Shift = []576 ShiftMask = []577 Button = mbRight578 ClickCount = ccSingle579 ClickDir = cdUp580 Command = 12581 MoveCaret = False582 Option = 0583 Priority = 0584 end585 item586 Shift = []587 ShiftMask = []588 Button = mbLeft589 ClickCount = ccDouble590 ClickDir = cdDown591 Command = 6592 MoveCaret = True593 Option = 0594 Priority = 0595 end596 item597 Shift = []598 ShiftMask = []599 Button = mbLeft600 ClickCount = ccTriple601 ClickDir = cdDown602 Command = 7603 MoveCaret = True604 Option = 0605 Priority = 0606 end607 item608 Shift = []609 ShiftMask = []610 Button = mbLeft611 ClickCount = ccQuad612 ClickDir = cdDown613 Command = 8614 MoveCaret = True615 Option = 0616 Priority = 0617 end618 item619 Shift = []620 ShiftMask = []621 Button = mbMiddle622 ClickCount = ccSingle623 ClickDir = cdDown624 Command = 10625 MoveCaret = True626 Option = 0627 Priority = 0628 end629 item630 Shift = [ssCtrl]631 ShiftMask = [ssShift, ssAlt, ssCtrl]632 Button = mbLeft633 ClickCount = ccSingle634 ClickDir = cdUp635 Command = 11636 MoveCaret = False637 Option = 0638 Priority = 0639 end>640 MouseSelActions = <641 item642 Shift = []643 ShiftMask = []644 Button = mbLeft645 ClickCount = ccSingle646 ClickDir = cdDown647 Command = 9648 MoveCaret = False649 Option = 0650 Priority = 0651 end>652 Lines.Strings = (653 'SynEditSource'654 )655 BracketHighlightStyle = sbhsBoth656 inline SynGutterPartList1: TSynGutterPartList657 object SynGutterMarks1: TSynGutterMarks658 Width = 24659 end660 object SynGutterLineNumber1: TSynGutterLineNumber661 Width = 17662 MouseActions = <>663 MarkupInfo.Background = clBtnFace664 MarkupInfo.Foreground = clNone665 DigitCount = 2666 ShowOnlyLineNumbersMultiplesOf = 1667 ZeroStart = False668 LeadingZeros = False669 end670 object SynGutterChanges1: TSynGutterChanges671 Width = 4672 ModifiedColor = 59900673 SavedColor = clGreen674 end675 object SynGutterSeparator1: TSynGutterSeparator676 Width = 2677 end678 object SynGutterCodeFolding1: TSynGutterCodeFolding679 MouseActions = <680 item681 Shift = []682 ShiftMask = []683 Button = mbRight684 ClickCount = ccSingle685 ClickDir = cdUp686 Command = 16687 MoveCaret = False688 Option = 0689 Priority = 0690 end691 item692 Shift = []693 ShiftMask = [ssShift]694 Button = mbMiddle695 ClickCount = ccAny696 ClickDir = cdDown697 Command = 14698 MoveCaret = False699 Option = 0700 Priority = 0701 end702 item703 Shift = [ssShift]704 ShiftMask = [ssShift]705 Button = mbMiddle706 ClickCount = ccAny707 ClickDir = cdDown708 Command = 14709 MoveCaret = False710 Option = 1711 Priority = 0712 end713 item714 Shift = []715 ShiftMask = []716 Button = mbLeft717 ClickCount = ccAny718 ClickDir = cdDown719 Command = 0720 MoveCaret = False721 Option = 0722 Priority = 0723 end>724 MarkupInfo.Background = clNone725 MarkupInfo.Foreground = clGray726 MouseActionsExpanded = <727 item728 Shift = []729 ShiftMask = []730 Button = mbLeft731 ClickCount = ccAny732 ClickDir = cdDown733 Command = 14734 MoveCaret = False735 Option = 0736 Priority = 0737 end>738 MouseActionsCollapsed = <739 item740 Shift = [ssCtrl]741 ShiftMask = [ssCtrl]742 Button = mbLeft743 ClickCount = ccAny744 ClickDir = cdDown745 Command = 15746 MoveCaret = False747 Option = 0748 Priority = 0749 end750 item751 Shift = []752 ShiftMask = [ssCtrl]753 Button = mbLeft754 ClickCount = ccAny755 ClickDir = cdDown756 Command = 15757 MoveCaret = False758 Option = 1759 Priority = 0760 end>761 end762 end763 inline SynRightGutterPartList1: TSynRightGutterPartList764 end765 end766 object Splitter2: TSplitter767 Left = 602768 Height = 320769 Top = 0770 Width = 5771 OnCanResize = Splitter2CanResize772 end773 object Panel1: TPanel774 Left = 607775 Height = 320776 Top = 0777 Width = 254778 Align = alClient779 BevelOuter = bvNone780 TabOrder = 4781 end782 end783 object Panel3: TPanel784 Left = 0785 Height = 160786 Top = 325787 Width = 861788 Align = alBottom789 BevelOuter = bvSpace790 ClientHeight = 160791 ClientWidth = 861792 TabOrder = 1793 object ListBoxMessages: TListBox794 Left = 8795 Height = 146796 Top = 8797 Width = 694798 Anchors = [akTop, akLeft, akRight, akBottom]799 ItemHeight = 0800 OnClick = ListBoxMessagesClick801 TabOrder = 0802 end803 object ButtonCompile: TButton804 Left = 709805 Height = 22806 Top = 32807 Width = 144808 Anchors = [akTop, akRight]809 Caption = 'Build'810 Font.Height = -11811 Font.Name = 'Tahoma'812 OnClick = ButtonCompileClick813 ParentFont = False814 TabOrder = 1815 end816 object ComboBox1: TComboBox817 Left = 709818 Height = 21819 Top = 8820 Width = 144821 Anchors = [akTop, akRight]822 ItemHeight = 13823 ItemIndex = 0824 Items.Strings = (825 'Pascal'826 'C'827 'i8051'828 'TreeView'829 )830 OnChange = ComboBox1Change831 Style = csDropDownList832 TabOrder = 2833 Text = 'Pascal'834 end835 end836 18 object Splitter3: TSplitter 837 19 Cursor = crVSplit 838 20 Left = 0 839 21 Height = 5 840 Top = 32022 Top = 480 841 23 Width = 861 842 24 Align = alBottom 843 25 ResizeAnchor = akBottom 844 26 end 845 object SynPasSyn1: TSynPasSyn 846 Enabled = False 847 CompilerMode = pcmDelphi 848 NestedComments = False 849 left = 328 850 top = 32 27 object DockPanel: TPanel 28 Left = 0 29 Height = 454 30 Top = 26 31 Width = 861 32 Align = alClient 33 BevelOuter = bvNone 34 TabOrder = 1 35 end 36 object ToolBar1: TToolBar 37 Left = 0 38 Height = 26 39 Top = 0 40 Width = 861 41 Caption = 'ToolBar1' 42 TabOrder = 2 43 object ComboBox1: TComboBox 44 Left = 1 45 Height = 21 46 Top = 2 47 Width = 100 48 ItemHeight = 13 49 TabOrder = 0 50 Text = 'ComboBox1' 51 end 52 object Button1: TButton 53 Left = 101 54 Height = 22 55 Top = 2 56 Width = 59 57 Action = ABuild 58 TabOrder = 1 59 end 851 60 end 852 61 object MainMenu1: TMainMenu … … 869 78 object MenuItem3: TMenuItem 870 79 Action = AProjectClose 80 end 81 end 82 object MenuItem7: TMenuItem 83 Caption = 'Run' 84 object MenuItem8: TMenuItem 85 Action = ABuild 871 86 end 872 87 end … … 899 114 Caption = 'Close' 900 115 end 116 object ABuild: TAction 117 Category = 'Build' 118 Caption = 'Build' 119 OnExecute = ButtonCompileClick 120 end 121 end 122 object CoolDockMaster1: TCoolDockMaster 123 TabsEnabled = True 124 DefaultTabsPos = hpAuto 125 DefaultHeaderPos = hpAuto 126 ShowIcons = False 127 left = 428 128 top = 56 129 end 130 object CoolDockClient1: TCoolDockClient 131 Dockable = False 132 Floatable = False 133 Master = CoolDockMaster1 134 Panel = DockPanel 135 left = 504 136 top = 56 901 137 end 902 138 end -
branches/Transpascal/Forms/UMainForm.pas
r60 r61 7 7 uses 8 8 SysUtils, Variants, Classes, Graphics, Controls, Forms, 9 Dialogs, StdCtrls, U SourceCode, UCompiler, UProducerAsm8051,9 Dialogs, StdCtrls, UCompiler, UProducerAsm8051, 10 10 UProducerC, ComCtrls, ExtCtrls, SynEdit, SynHighlighterPas, UProducerTreeView, 11 UProducerPascal, Contnrs, UProject, FileUtil, Menus, ActnList ;11 UProducerPascal, Contnrs, UProject, FileUtil, Menus, ActnList, UCoolDocking; 12 12 13 13 const … … 18 18 19 19 TMainForm = class(TForm) 20 ABuild: TAction; 20 21 AProjectNew: TAction; 21 22 AProjectOpen: TAction; … … 24 25 AProjectClose: TAction; 25 26 ActionList1: TActionList; 26 Button Compile: TButton;27 Button1: TButton; 27 28 ComboBox1: TComboBox; 28 ListBoxMessages: TListBox; 29 CoolDockClient1: TCoolDockClient; 30 CoolDockMaster1: TCoolDockMaster; 29 31 MainMenu1: TMainMenu; 30 32 MenuItem1: TMenuItem; … … 34 36 MenuItem5: TMenuItem; 35 37 MenuItem6: TMenuItem; 36 Panel1: TPanel; 37 Panel2: TPanel; 38 Panel3: TPanel; 39 Splitter1: TSplitter; 40 Splitter2: TSplitter; 38 MenuItem7: TMenuItem; 39 MenuItem8: TMenuItem; 40 DockPanel: TPanel; 41 41 Splitter3: TSplitter; 42 SynEditSource: TSynEdit; 43 SynPasSyn1: TSynPasSyn; 44 TreeViewProject: TTreeView; 42 ToolBar1: TToolBar; 45 43 procedure ComboBox1Change(Sender: TObject); 46 44 procedure FormShow(Sender: TObject); … … 59 57 procedure UpdateProjectGroup(Node: TTreeNode; Group: TProjectGroup); 60 58 function GetSource(Name: string; Source: TStringList): Boolean; 59 procedure DockInit; 61 60 public 62 61 Project: TProject; … … 72 71 {$R *.lfm} 73 72 73 uses 74 UMessagesForm, UCodeForm, UProjectManager; 75 74 76 { TMainForm } 75 77 … … 95 97 Compiler.Producer := TProducerTreeView.Create; 96 98 ProducerControl := TTreeView.Create(Self); 97 ProducerControl.Parent := Panel1;99 ProducerControl.Parent := DockPanel; 98 100 ProducerControl.Align := alClient; 99 101 // TProducerTreeView(Compiler.Producer).TreeView := TTreeView(ProducerControl); … … 109 111 if ComboBox1.ItemIndex = 0 then begin 110 112 ProducerControl := TMemo.Create(Self); 111 ProducerControl.Parent := Panel1;113 ProducerControl.Parent := DockPanel; 112 114 ProducerControl.Align := alClient; 113 115 ProducerControl.Font.Name := 'Courier New'; … … 116 118 if ComboBox1.ItemIndex = 1 then begin 117 119 ProducerControl := TMemo.Create(Self); 118 ProducerControl.Parent := Panel1;120 ProducerControl.Parent := DockPanel; 119 121 ProducerControl.Align := alClient; 120 122 ProducerControl.Font.Name := 'Courier New'; … … 123 125 if ComboBox1.ItemIndex = 2 then begin 124 126 ProducerControl := TMemo.Create(Self); 125 ProducerControl.Parent := Panel1;127 ProducerControl.Parent := DockPanel; 126 128 ProducerControl.Align := alClient; 127 129 ProducerControl.Font.Name := 'Courier New'; … … 138 140 ProjectFile: TProjectFile; 139 141 begin 142 with MessagesForm, CodeForm do 140 143 if ListBoxMessages.ItemIndex <> -1 then 141 144 with TErrorMessage(Compiler.ErrorMessages[ListBoxMessages.ItemIndex]) do begin … … 163 166 I: Integer; 164 167 begin 165 ListBoxMessages.Clear; 166 for I := 0 to Compiler.ErrorMessages.Count - 1 do 167 with TErrorMessage(Compiler.ErrorMessages[I]) do 168 MainForm.ListBoxMessages.Items.Add(FileName + '(' + IntToStr(Position.X) + 169 ',' + IntToStr(Position.Y) + ') ' + Text); 170 end; 171 172 procedure TMainForm.TreeViewProjectChange(Sender: TObject; Node: TTreeNode); 173 var 174 FileName: string; 175 begin 176 if Assigned(Node) then begin 177 if TProjectNode(Node.Data) is TProjectFile then begin 178 SynEditSource.Lines.Assign(TProjectFile(Node.Data).Source); 179 FileName := Compiler.CompiledFolder + DirectorySeparator + 180 Compiler.Producer.ClassName + DirectorySeparator + ExtractFileNameOnly(TProjectFile(Node.Data).Name) + Compiler.Producer.FileExtension; 181 if ProducerControl is TMemo then 182 if FileExists(FileName) then 183 TMemo(ProducerControl).Lines.LoadFromFile(FileName) else 184 TMemo(ProducerControl).Lines.Clear; 185 //if ProducerControl is TTreeView then 186 // TTreeView(ProducerControl).Assign(TProjectFile(Node.Data).ProducedCode); 187 end; 168 with MessagesForm do begin 169 ListBoxMessages.Clear; 170 for I := 0 to Compiler.ErrorMessages.Count - 1 do 171 with TErrorMessage(Compiler.ErrorMessages[I]) do 172 ListBoxMessages.Items.Add(FileName + '(' + IntToStr(Position.X) + 173 ',' + IntToStr(Position.Y) + ') ' + Text); 188 174 end; 189 175 end; … … 193 179 NewNode: TTreeNode; 194 180 begin 195 with TreeViewProject, Items do begin181 with ProjectManager, TreeViewProject, Items do begin 196 182 BeginUpdate; 197 183 Clear; … … 200 186 NewNode.Expand(True); 201 187 EndUpdate; 202 end;203 TreeViewProject.TopItem.Items[0].Selected := True;188 TreeViewProject.TopItem.Items[0].Selected := True; 189 end; 204 190 end; 205 191 … … 209 195 NewNode: TTreeNode; 210 196 begin 197 with ProjectManager do 211 198 for I := 0 to Group.Items.Count - 1 do begin 212 199 NewNode := TreeViewProject.Items.AddChild(Node, … … 229 216 end; 230 217 218 procedure TMainForm.DockInit; 219 var 220 Container1: TCoolDockConjoinForm; 221 begin 222 ProjectManager.ManualDock(DockPanel, nil, alLeft); 223 ProjectManager.Show; 224 225 Container1 := TCoolDockManager(DockPanel.DockManager).CreateContainer(alRight); 226 Container1.Caption := 'Tools'; 227 Container1.Name := 'Tools'; 228 Container1.ManualDock(DockPanel, nil, alRight); 229 230 CodeForm.ManualDock(Container1.Panel, nil, alTop); 231 CodeForm.Show; 232 MessagesForm.ManualDock(Container1.Panel, nil, alBottom); 233 MessagesForm.Show; 234 235 ProjectManager.Parent.Parent.Width := 200; 236 CodeForm.Parent.Parent.Height := MainForm.Height; 237 end; 238 231 239 procedure TMainForm.FormClose(Sender: TObject; var Action: TCloseAction); 232 240 begin … … 250 258 NewProjectFile: TProjectFile; 251 259 begin 260 DockInit; 261 252 262 Project.RootDir := '../../Project/'; 253 263 Project.Name := 'Project'; -
branches/Transpascal/Transpascal.lpi
r60 r61 46 46 </Item4> 47 47 </RequiredPackages> 48 <Units Count="2 7">48 <Units Count="29"> 49 49 <Unit0> 50 50 <Filename Value="Transpascal.lpr"/> … … 53 53 <EditorIndex Value="4"/> 54 54 <WindowIndex Value="0"/> 55 <TopLine Value=" 1"/>56 <CursorPos X="35" Y=" 9"/>57 <UsageCount Value="16 4"/>55 <TopLine Value="2"/> 56 <CursorPos X="35" Y="24"/> 57 <UsageCount Value="165"/> 58 58 <Loaded Value="True"/> 59 59 </Unit0> … … 65 65 <ResourceBaseClass Value="Form"/> 66 66 <UnitName Value="UMainForm"/> 67 <EditorIndex Value=" 0"/>68 <WindowIndex Value="0"/> 69 <TopLine Value="1 "/>70 <CursorPos X=" 34" Y="9"/>71 <UsageCount Value="16 4"/>67 <EditorIndex Value="3"/> 68 <WindowIndex Value="0"/> 69 <TopLine Value="175"/> 70 <CursorPos X="1" Y="176"/> 71 <UsageCount Value="165"/> 72 72 <Loaded Value="True"/> 73 <LoadedDesigner Value="True"/>74 73 </Unit1> 75 74 <Unit2> … … 77 76 <IsPartOfProject Value="True"/> 78 77 <UnitName Value="UTextSource"/> 79 <EditorIndex Value="2"/>80 78 <WindowIndex Value="0"/> 81 79 <TopLine Value="1"/> 82 80 <CursorPos X="1" Y="6"/> 83 <UsageCount Value="164"/> 84 <Loaded Value="True"/> 81 <UsageCount Value="165"/> 85 82 </Unit2> 86 83 <Unit3> … … 211 208 <IsPartOfProject Value="True"/> 212 209 <UnitName Value="UProject"/> 213 <EditorIndex Value="3"/> 214 <WindowIndex Value="0"/> 215 <TopLine Value="97"/> 216 <CursorPos X="1" Y="110"/> 217 <UsageCount Value="36"/> 218 <Loaded Value="True"/> 210 <WindowIndex Value="0"/> 211 <TopLine Value="1"/> 212 <CursorPos X="6" Y="1"/> 213 <UsageCount Value="37"/> 219 214 </Unit19> 220 215 <Unit20> … … 228 223 <Filename Value="Compiler\TranspascalCompiler.pas"/> 229 224 <UnitName Value="TranspascalCompiler"/> 230 <EditorIndex Value=" 5"/>225 <EditorIndex Value="0"/> 231 226 <WindowIndex Value="0"/> 232 227 <TopLine Value="1"/> 233 228 <CursorPos X="33" Y="1"/> 234 <UsageCount Value="1 0"/>229 <UsageCount Value="11"/> 235 230 <Loaded Value="True"/> 236 231 </Unit21> … … 246 241 <Filename Value="Compiler\USourceCode.pas"/> 247 242 <UnitName Value="USourceCode"/> 248 <EditorIndex Value="6"/>249 243 <WindowIndex Value="0"/> 250 244 <TopLine Value="307"/> 251 245 <CursorPos X="65" Y="308"/> 252 246 <UsageCount Value="10"/> 253 <Loaded Value="True"/>254 247 </Unit23> 255 248 <Unit24> 256 249 <Filename Value="Compiler\Analyze\UParser.pas"/> 257 250 <UnitName Value="UParser"/> 258 <EditorIndex Value="7"/>259 251 <WindowIndex Value="0"/> 260 252 <TopLine Value="1"/> 261 253 <CursorPos X="1" Y="1"/> 262 254 <UsageCount Value="10"/> 263 <Loaded Value="True"/>264 255 </Unit24> 265 256 <Unit25> 266 257 <Filename Value="Compiler\Produce\UProducer.pas"/> 267 258 <UnitName Value="UProducer"/> 268 <EditorIndex Value="8"/> 269 <WindowIndex Value="0"/> 270 <TopLine Value="1"/> 271 <CursorPos X="35" Y="5"/> 259 <WindowIndex Value="0"/> 260 <TopLine Value="1"/> 261 <CursorPos X="15" Y="4"/> 272 262 <UsageCount Value="10"/> 273 <Loaded Value="True"/>274 263 </Unit25> 275 264 <Unit26> 276 <Filename Value="Forms\UProjec Manager.pas"/>277 <IsPartOfProject Value="True"/> 278 <ComponentName Value=" Form1"/>265 <Filename Value="Forms\UProjectManager.pas"/> 266 <IsPartOfProject Value="True"/> 267 <ComponentName Value="ProjectManager"/> 279 268 <ResourceBaseClass Value="Form"/> 280 <UnitName Value="UProjecManager"/> 281 <EditorIndex Value="1"/> 282 <WindowIndex Value="0"/> 283 <TopLine Value="1"/> 284 <CursorPos X="1" Y="1"/> 285 <UsageCount Value="20"/> 269 <UnitName Value="UProjectManager"/> 270 <IsVisibleTab Value="True"/> 271 <EditorIndex Value="2"/> 272 <WindowIndex Value="0"/> 273 <TopLine Value="22"/> 274 <CursorPos X="18" Y="41"/> 275 <UsageCount Value="21"/> 286 276 <Loaded Value="True"/> 287 277 <LoadedDesigner Value="True"/> 288 278 </Unit26> 279 <Unit27> 280 <Filename Value="Forms\UCodeForm.pas"/> 281 <IsPartOfProject Value="True"/> 282 <ComponentName Value="CodeForm"/> 283 <ResourceBaseClass Value="Form"/> 284 <UnitName Value="UCodeForm"/> 285 <EditorIndex Value="1"/> 286 <WindowIndex Value="0"/> 287 <TopLine Value="7"/> 288 <CursorPos X="32" Y="16"/> 289 <UsageCount Value="21"/> 290 <Loaded Value="True"/> 291 <LoadedDesigner Value="True"/> 292 </Unit27> 293 <Unit28> 294 <Filename Value="Forms\UMessagesForm.pas"/> 295 <IsPartOfProject Value="True"/> 296 <ComponentName Value="MessagesForm"/> 297 <ResourceBaseClass Value="Form"/> 298 <UnitName Value="UMessagesForm"/> 299 <WindowIndex Value="0"/> 300 <TopLine Value="1"/> 301 <CursorPos X="1" Y="1"/> 302 <UsageCount Value="21"/> 303 </Unit28> 289 304 </Units> 290 <JumpHistory Count="1 6" HistoryIndex="15">305 <JumpHistory Count="10" HistoryIndex="9"> 291 306 <Position1> 292 <Filename Value="Forms\U MainForm.pas"/>293 <Caret Line=" 82" Column="41" TopLine="71"/>307 <Filename Value="Forms\UCodeForm.pas"/> 308 <Caret Line="16" Column="10" TopLine="1"/> 294 309 </Position1> 295 310 <Position2> 296 <Filename Value=" Forms\UMainForm.pas"/>297 <Caret Line=" 83" Column="41" TopLine="72"/>311 <Filename Value="Transpascal.lpr"/> 312 <Caret Line="9" Column="35" TopLine="1"/> 298 313 </Position2> 299 314 <Position3> 300 <Filename Value="Forms\U MainForm.pas"/>301 <Caret Line=" 84" Column="41" TopLine="73"/>315 <Filename Value="Forms\UProjectManager.pas"/> 316 <Caret Line="13" Column="9" TopLine="1"/> 302 317 </Position3> 303 318 <Position4> 304 <Filename Value=" Forms\UMainForm.pas"/>305 <Caret Line=" 85" Column="41" TopLine="74"/>319 <Filename Value="Transpascal.lpr"/> 320 <Caret Line="27" Column="1" TopLine="2"/> 306 321 </Position4> 307 322 <Position5> 308 <Filename Value="Forms\U MainForm.pas"/>309 <Caret Line=" 86" Column="41" TopLine="75"/>323 <Filename Value="Forms\UProjectManager.pas"/> 324 <Caret Line="34" Column="1" TopLine="29"/> 310 325 </Position5> 311 326 <Position6> 312 <Filename Value="Forms\U MainForm.pas"/>313 <Caret Line=" 87" Column="41" TopLine="76"/>327 <Filename Value="Forms\UProjectManager.pas"/> 328 <Caret Line="31" Column="13" TopLine="24"/> 314 329 </Position6> 315 330 <Position7> 316 <Filename Value="Forms\U MainForm.pas"/>317 <Caret Line=" 88" Column="41" TopLine="77"/>331 <Filename Value="Forms\UProjectManager.pas"/> 332 <Caret Line="9" Column="11" TopLine="1"/> 318 333 </Position7> 319 334 <Position8> 320 <Filename Value="Forms\U MainForm.pas"/>321 <Caret Line=" 89" Column="41" TopLine="78"/>335 <Filename Value="Forms\UProjectManager.pas"/> 336 <Caret Line="32" Column="23" TopLine="21"/> 322 337 </Position8> 323 338 <Position9> 324 <Filename Value="Forms\U MainForm.pas"/>325 <Caret Line=" 90" Column="41" TopLine="79"/>339 <Filename Value="Forms\UProjectManager.pas"/> 340 <Caret Line="43" Column="16" TopLine="30"/> 326 341 </Position9> 327 342 <Position10> 328 <Filename Value="Forms\U MainForm.pas"/>329 <Caret Line=" 91" Column="41" TopLine="80"/>343 <Filename Value="Forms\UProjectManager.pas"/> 344 <Caret Line="41" Column="19" TopLine="21"/> 330 345 </Position10> 331 <Position11>332 <Filename Value="Forms\UMainForm.pas"/>333 <Caret Line="92" Column="41" TopLine="81"/>334 </Position11>335 <Position12>336 <Filename Value="Forms\UMainForm.pas"/>337 <Caret Line="93" Column="41" TopLine="82"/>338 </Position12>339 <Position13>340 <Filename Value="Forms\UMainForm.pas"/>341 <Caret Line="94" Column="41" TopLine="83"/>342 </Position13>343 <Position14>344 <Filename Value="Forms\UMainForm.pas"/>345 <Caret Line="89" Column="88" TopLine="1"/>346 </Position14>347 <Position15>348 <Filename Value="Compiler\TranspascalCompiler.pas"/>349 <Caret Line="12" Column="34" TopLine="1"/>350 </Position15>351 <Position16>352 <Filename Value="Compiler\TranspascalCompiler.pas"/>353 <Caret Line="10" Column="24" TopLine="1"/>354 </Position16>355 346 </JumpHistory> 356 347 </ProjectOptions> -
branches/Transpascal/Transpascal.lpr
r60 r61 10 10 UMainForm in 'UMainForm.pas' {MainForm}, 11 11 UTextSource in 'UTextSource.pas', UProject, TranspascalCompiler, 12 UProjec Manager;12 UProjectManager, UCodeForm, UMessagesForm; 13 13 14 14 {$R *.res} … … 21 21 Application.Initialize; 22 22 Application.CreateForm(TMainForm, MainForm); 23 Application.CreateForm(TForm1, Form1); 23 Application.CreateForm(TProjectManager, ProjectManager); 24 Application.CreateForm(TCodeForm, CodeForm); 25 Application.CreateForm(TMessagesForm, MessagesForm); 24 26 Application.Run; 25 27 end.
Note:
See TracChangeset
for help on using the changeset viewer.