[Re: [lazarus] IDE Coding]

Michal Bukovjan mbukovjan at netscape.net
Fri Mar 3 03:17:31 EST 2000


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" <SMiller1 at stvgb.org> 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.
> Shane
> 
> >>> cwhite at aracnet.com 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
> > 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
> 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
> > 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
> > bugs tomorrow.
> >
> 
> Very cool.  I will try it out.
> 
> 
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com 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.






More information about the Lazarus mailing list