Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-09 Thread Roland Chastain
OK, Fred, I see. Thank you for the information.

I will investigate.

BUT, in the meantime, you can sleep well because 1° you know where is the
problem 2° you have a temporary solution and 3° FPC 3.3.1 is not an official
release.

Good night!
 



--
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] Indentation and other settings

2020-02-09 Thread fredvs
@Roland

It seems that it has something to do with a array length problem.
If the number of forms and widgets > 1 it is like only the first row of the
array is read.

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] Indentation and other settings

2020-02-09 Thread fredvs
@Roland

> About the msestat issue, could you make a minimal project that shows the
> issue? 

You may test it with all projects that use a msestat file (kind of ini or
json file).
For example your msegui-chessboard is using a msestat file to store info
about the filenames of images of black/white case, position and size of the
main window when it is loaded, etc...

If you compile msegui-chessboard with fpc 3.3.1 trunk, you will see that
those info are not loaded, the application is loaded  without loading the
data from msestat file because something is not understood.

The same if you compile mseide with fpc 3.3.1, no data loaded at init and
cannot load the layout files too (that are msestat files).

PS: If you compile the eschecs_mse project (that was in attachment in
eschecs-issue) with fpc 3.3.1 you will note that all is ok.
This because the project is using fpg_ini.pas and his ini file instead of
msestat file.

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] Indentation and other settings

2020-02-09 Thread Roland Chastain
@Fred

About the msestat issue, could you make a minimal project that shows the
issue?

I will start to investigate seriously with you. I think I know someone who
could solve the problem but I need a little project who demonstrates clearly
the issue.

Or, if it isn't possible to do a little project, could you say to you how
you test the thing?

Regards.

Roland



--
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] Indentation and other settings

2020-02-09 Thread fredvs
> Then that sounds like the perfect solution to MSEide too. 

Yes it sounds but for that a new window must be implemented in mseide.
Yes, it can be done of course (but not sure Martin will like it for mseide,
it was already asked many time, without luck).

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] Indentation and other settings

2020-02-09 Thread fredvs
> Oh - I thought you found and fixes the issue. 

More or less the cause but not yet the fix:

http://free-pascal-general.1045716.n5.nabble.com/Compatibility-problems-with-fpc-gt-3-3-1-rev-42375-td5734232i20.html#a5734851

  

We are waiting for a guru with brave heart.

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] Indentation and other settings

2020-02-09 Thread Graeme Geldenhuys
On 09/02/2020 2:04 pm, fredvs wrote:
> it is exactly what was done in ideU, you may choose or use the settings
> of the project or the global settings.
> And you may switch from one to other.


Then that sounds like the perfect solution to MSEide too. Sorry if I
misunderstood - I haven't used ideU in many years. Clearly a lot has
changed/improved since then. :-)


Regards,
  Graeme



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


Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-09 Thread Graeme Geldenhuys
On 09/02/2020 2:18 pm, fredvs wrote:
> ideU is not "pure" msegui, it uses some fpGUI and Lazarus units and
> some code is used to make work fpGUI_designer_ext and sak assistive
> kit.

Ah yes, I forgot about that. In that case, keeping it as a separate
"specialized MSEide" is indeed the better option.


> All that said, till now, I did not find how to fix the "msestat" bug
> when using fpc 3.3.1. ;(

Oh - I thought you found and fixes the issue.


Regards,
  Graeme


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


Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-09 Thread fredvs
Hello Graeme.

Like I explained before, I am totally open to incorporate ideU features to
mseide.

But I dont think it is ok to fork ideU into mseide.

ideU is not "pure" msegui, it uses some fpGUI and Lazarus units and some
code is used to make work fpGUI_designer_ext and sak assistive kit.

I use ideU because it has "Geany" features, like compiling the edited
source.

Imho, mseide should stay like it is now, compact and msegui centered.

And if bugs are found or new features needed like those you proposed, it is
good to fix/add it.

All that said, till now, I did not find how to fix the "msestat" bug when
using fpc 3.3.1. ;(

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] Indentation and other settings

2020-02-09 Thread fredvs
Hello Graeme.

> but I think it would be nice (though probaly more work) to also still keep
> the Per Project options. 

Huh, it is exactly what was done in ideU, you may choose or use the settings
of the project or the global settings.
And you may switch from one to other.

Of course I did not touch to the code of settings by projects.

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] Indentation and other settings

2020-02-09 Thread Graeme Geldenhuys
On 08/02/2020 5:00 pm, Roland Chastain wrote:
> OK Fred, thank you. I will follow the progress of ideU.

I'm hoping that over time the official MSEide can incorporate most ideU
enhancements, so we don't end up with a fragmented project.

Just my 2c. But then on the flip side, maybe Fred wants to use ideU
where things can be experimented with before they make it into the
official MSEide - that's actually not such a bad idea either. But again,
that could be accomplished in the official MSEide repository too, using
an "experimental" branch/branches, where ideas can easily and quickly be
merged and tested for some time, because some of those features make it
into the "master" branch.

I think IntelliJ IDEA and Git itself follow that development process.
You have the official stable branch, and then multiple feature branches,
and an "experimental" branch which contains most of the feature branches
all merged together for trialling.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


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


Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-09 Thread Graeme Geldenhuys
On 08/02/2020 1:25 pm, fredvs wrote:
> Your indent-config is a good example, it should be (ones again imho) global
> and not per project.
> The same for the font used in editor, pair-word, etc...

I'm totally okay with such global options too, but I think it would be
nice (though probaly more work) to also still keep the Per Project
options. So the Per Project options will override the Global IDE Options.

This design will also make it 100% backward compatible with existing
Project files/settings, as they will override the newly introduced
Global IDE Options.

I think that would be the ideal solution.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


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


Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-08 Thread fredvs
Hello.

Change committed in ideU:
https://github.com/fredvs/ideU/commit/ab64b1741fee32e775aeca5f092d88f58d55cb51

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] Indentation and other settings

2020-02-08 Thread fredvs
Hello Roland.

Ok, added option in ideU to add a space after each comma ",".
It was easy to implement.

Note that it works only for new forms or new widgets or new components
added.
It does not have effect on all what was parsed before.

 

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] Indentation and other settings

2020-02-08 Thread Roland Chastain
OK Fred, thank you. I will follow the progress of ideU.




--
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] Indentation and other settings

2020-02-08 Thread fredvs
Hello Roland.

> I am speaking if this:
>uses
> msetypes, mseglob, mseguiglob,
>instead of this
>uses
>  msetypes,mseglob,mseguiglob, 

Ha, are talking about the auto-parsed code when you create a mse form?
If so, imho, there is no option for this.

But Iwill take a look, maybe (surely) it could be implemented easily.

> Dear Fred, your suggestion relative to global settings

I did it already for ideU (after some more test it will be committed).


 

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] Indentation and other settings

2020-02-08 Thread Roland Chastain
Thank you for your answers.

@Graeme

OK, I see.

@Fred

I am speaking if this:

uses
  msetypes, mseglob, mseguiglob,

instead of this

uses
  msetypes,mseglob,mseguiglob,

But this is a detail. I am glad that I know now how to set indentation.

Dear Fred, your suggestion relative to global settings doesn't seem to be a
bad idea, but I don't really have an opinion.

Regards.

Roland




--
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] Indentation and other settings

2020-02-08 Thread fredvs
Re-hello.

All those settings per project is great, it makes each project totally
independent.

But, imho, sometimes it is too much.

Your indent-config is a good example, it should be (ones again imho) global
and not per project.
The same for the font used in editor, pair-word, etc...

In ideU there is a "Global config" menu.
I will add a "Default editor settings", that will have some of the
"Editor-Source" options.

And it will be a boolean edit: "Use default global editor options instead of
project editor options".

And, of course, after vote, if people want this for MSEide too, it can be
added too.

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] Indentation and other settings

2020-02-08 Thread fredvs
Hello Roland.

Graeme explained how to config implementation, it is done with project
option Editor-Source.
Now if you want a global default config for implementation, I can add it
fast (after vote, of course).

> Same question for the units declaration. I would like to have a space
> after commas.

Sorry but I do not understand, could you write a example of what you want to
do?

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] Indentation and other settings

2020-02-08 Thread Graeme Geldenhuys
On 08/02/2020 6:33 am, Roland Chastain wrote:
> Would someone know how to change the setting for automatic indentation in
> MSEide? For example, I would prefer two spaces instead of one space.

As the usual with MSEide, that is a per project setting, as MSEide
doesn't really use "global settings". But you can change the default
"new project" to include those settings, or Export/Import settings from
another project.

Anyway, to the point, you can set the indentation in the Project Options
dialog under the Editor and then Source tab.

> Same question for the units declaration. I would like to have a space
> after commas.
Umm, I'm not sure about this one. MSEide really isn't big on
auto-generating source code for you (by design). That design choice is
something I like too, so never really worried about code layout, as it
is code I typed myself. ;-)


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


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


[MSEide-MSEgui-talk] Indentation and other settings

2020-02-07 Thread Roland Chastain
Hello!

Would someone know how to change the setting for automatic indentation in
MSEide? For example, I would prefer two spaces instead of one space.

Same question for the units declaration. I would like to have a space after
commas.

Regards.

Roland



--
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