Re: [MSEide-MSEgui-talk] About macros and .prj

2018-11-08 Thread Martin Schreiber
On Thursday 08 November 2018 17:14:56 fredvs wrote:
>
> Huh,... ok ?.
>
I hope so. :-)

Martin


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] About macros and .prj

2018-11-08 Thread fredvs
> Huh,... ok ?. 

OK.

https://github.com/fredvs/ideU/commit/a4f322c7e143dc643fa8b74df7fec106244b0c51

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] About macros and .prj

2018-11-08 Thread fredvs
Hello Martin.

OK, let's do a other way.

I will add a option in ProjectOptions:

x "Source editor at loading" // loadsource : boolean = false;


And add this at end in openproject():

function tmainfo.openproject(const aname: filenamety;
   const ascopy: boolean = false): boolean;
begin
...
if loadsource then actionsmo.projectsourceexe(nil); // add this at end.
end;

That way, no change in prj behavior and everybody is happy.

Huh,... ok ?.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] About macros and .prj

2018-11-08 Thread Martin Schreiber
On Thursday 08 November 2018 15:53:28 fredvs wrote:
> Hello Martin.
>
> > and files with activated 'L' column loaded in editor.
>
> Not sure to understand, what 'L' column in editor?
>
If the "x" is set in the 'L' column of 'Project'-'Options'-'Templates'-'New 
Project'-grid the according File will be loaded into editor at project 
creation.

Martin


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] About macros and .prj

2018-11-08 Thread fredvs
> If it works for you OK, but I don't want it in my code.

Aaargh, if you don't do it in MSE code, I will not do it for ideU.
This because I want that all ideU prj are 100% compatible with MSEide.

;-(

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] About macros and .prj

2018-11-08 Thread fredvs
Hello Martin.

> and files with activated 'L' column loaded in editor. 

Not sure to understand, what 'L' column in editor?

> Or use the 'Project'-'Options'-'Templates'-'New Project' functionality. 

Yes, of course, but not so fast as rename lot of prj files if you have lot
of new MSE  projects to create from Lazarus projects for example.

Fre;D
 




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] About macros and .prj

2018-11-08 Thread Martin Schreiber
On Thursday 08 November 2018 15:29:09 fredvs wrote:
> >  fear that has too many side effects.
>
> Ha, strange...
>
> I did use some expandprmacros(afilename) in sourceform.openfile method and
> it works like charm.
>
> Hum, could you explain what kind of side effects it can have ?
>
I don't know exactly but I have a bad feeling. If it works for you OK, but I 
don't want it in my code especially because MSEide already has a mechanism 
for initializing projects.

Martin


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] About macros and .prj

2018-11-08 Thread fredvs
>  fear that has too many side effects. 

Ha, strange...

I did use some expandprmacros(afilename) in sourceform.openfile method and
it works like charm.

Hum, could you explain what kind of side effects it can have ?

Thanks.



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] About macros and .prj

2018-11-07 Thread Martin Schreiber
On Thursday 08 November 2018 00:11:09 fredvs wrote:
> About macros and .prj
>
>
> Are you OK to enable macro-conversion at this stage too?
>
I fear that has too many side effects. The main program can be opened 
by 'Project'-'Source'. Or use the 'Project'-'Options'-'Templates'-'New 
Project' functionality. There macros will be expanded and files with 
activated 'L' column loaded in editor.

Martin


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk