Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-03

[Re: IDE Coding]

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Shane Miller

I will convert it to XML
Shane

>> 03/03/00 02:17AM >>>

Might be worthwhile to think about using XML instead of INI files. There are units for XML operations, and for Delphi compatibility, we can always create a transparent INI->XML filter, and I think that in Delphi 6 the .dfm format will be replaced by XML, anyway.

This would be on step ahead of Delphi - and I like that idea.

I guess there is much more possibilities with XML, like for example possible GLADE interoperation, etc.

Michal Bukovjan

"Shane Miller" wrote
.LPR would be fine with me. I am not real worried about the name of the

file but I guess LPR would make more sense than FPR.

I am using the same format as Delphi 5 uses. It is an INI file. I am not

using XML because it's not compatable with Delphi.

Show quoted text 8 lines
Shane >>> 03/02/00 01:11AM >>> Shane Miller wrote: > > New Project will work. It creates a Project1.fpr and Unit1.pp file. It > opens up ideeditor and adds a page for the Unit1.pp file. It extract

info

Show quoted text 8 lines
> out of these files and adds them to a structure (defined in global.pp) > called UnitList. > Unitlist contains the NAME, SOURCE, FILENAME, PAGE, and file type of each > unit. > I'm just wondering what you all think about naming the project files .lpr instead of .fpr since they are specific to Lazarus. FPC doesn't know or

care

anything about them. Probably doesn't really matter much. I was just

pondering

Show quoted text 5 lines
the idea and thought I would see what you all think about it. > > I am using the Project.pp file now in Main.pp. I use it to record a

number

> of things in the .dsk file that's created when you do a SAVE PROJECT. I > will create an example and commit it tomorrow. It works similiar to

saving

> your desktop settings works in Delphi. It records which unit is being > displayed, the location of the editor window, the location of the cursor

in

> each visible source file, the location of the main window, etc. Works

real

Show quoted text 7 lines
> well actually. What format are you using for the .dsk file? Are you using XML? > > To test these features, run Lazarus and select Project NEW. then move

the

> editor around somewhere and then select SAVE PROJECT. Pick a location. > Don't save this into the LAzarus source directory!!! Close Lazarus. > Run Lazarus again and select PROJECT - OPEN PROJECT. Select the .fpr

file

> and it should (should!) load the unit and display it exactly where the > editor was when you saved. If not, no big deal, I will be working out

the

Show quoted text 16 lines
> bugs tomorrow. > Very cool. I will try it out. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

____________________________________________________________________ Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michal Bukovjan

Might be worthwhile to think about using XML instead of INI files. There are units for XML operations, and for Delphi compatibility, we can always create a transparent INI->XML filter, and I think that in Delphi 6 the .dfm format will be replaced by XML, anyway.

This would be on step ahead of Delphi - and I like that idea.

I guess there is much more possibilities with XML, like for example possible GLADE interoperation, etc.

Michal Bukovjan

"Shane Miller" wrote
.LPR would be fine with me. I am not real worried about the name of the

file but I guess LPR would make more sense than FPR.

I am using the same format as Delphi 5 uses. It is an INI file. I am not

using XML because it's not compatable with Delphi.

Show quoted text 8 lines
Shane >>> 03/02/00 01:11AM >>> Shane Miller wrote: > > New Project will work. It creates a Project1.fpr and Unit1.pp file. It > opens up ideeditor and adds a page for the Unit1.pp file. It extract

info

Show quoted text 8 lines
> out of these files and adds them to a structure (defined in global.pp) > called UnitList. > Unitlist contains the NAME, SOURCE, FILENAME, PAGE, and file type of each > unit. > I'm just wondering what you all think about naming the project files .lpr instead of .fpr since they are specific to Lazarus. FPC doesn't know or

care

anything about them. Probably doesn't really matter much. I was just

pondering

Show quoted text 5 lines
the idea and thought I would see what you all think about it. > > I am using the Project.pp file now in Main.pp. I use it to record a

number

> of things in the .dsk file that's created when you do a SAVE PROJECT. I > will create an example and commit it tomorrow. It works similiar to

saving

> your desktop settings works in Delphi. It records which unit is being > displayed, the location of the editor window, the location of the cursor

in

> each visible source file, the location of the main window, etc. Works

real

Show quoted text 7 lines
> well actually. What format are you using for the .dsk file? Are you using XML? > > To test these features, run Lazarus and select Project NEW. then move

the

> editor around somewhere and then select SAVE PROJECT. Pick a location. > Don't save this into the LAzarus source directory!!! Close Lazarus. > Run Lazarus again and select PROJECT - OPEN PROJECT. Select the .fpr

file

> and it should (should!) load the unit and display it exactly where the > editor was when you saved. If not, no big deal, I will be working out

the

Show quoted text 16 lines
> bugs tomorrow. > Very cool. I will try it out. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

____________________________________________________________________ Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.

Reply by email