Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-03-11 Thread fredvs
Hello Graeme. I did fix for the warnings in commit 5aa6640. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-16 Thread fredvs
Glad you like it! In last commit was added focusedlinecolor. This is the color of the focused line-fixed column (high-light fixed row where is the carret). Of course if you dont like this feature, just set the color as cl_default. So, to resume, there is now 8 color values. editorcolors =

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-16 Thread Graeme Geldenhuys
On 16/02/2020 3:48 am, fredvs wrote: > I did commit all this in official mse-org. Awesome, thank you very much! :-) Regards, Graeme ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-15 Thread fredvs
Hello Graeme. Sorry, I could not resist. It is done, and was very easy. 3 new parameters are added in msesyntaxpainter : [fontlinecolor [backgroundlinecolor [selectedcolor So now in the sdef file, for example for your pascal_solarized_dark.sdef, the code is this: # COLORS

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-15 Thread fredvs
> And to complete all the look that sdef can give, maybe add also a parameter > for the color of the first row. > (The one that contain the line number). grid.fixcols[-1].color := cl_yourcolor; Ok, I go. Have a perfect and polychrome WE. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-15 Thread fredvs
And to complete all the look that sdef can give, maybe add also a parameter for the color of the first row. (The one that contain the line number). Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-15 Thread fredvs
> f the sdef definition/implementation doesn't currently support that color item, Imho, after fast check, it is not currently supported. OK, I let you play with it. ;) Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-15 Thread Graeme Geldenhuys
On 15/02/2020 1:46 pm, fredvs wrote: > Or better, re-code syntax def file (.sdef) file to add a parameter to set > the color of datacols[1].colorselected. If the sdef definition/implementation doesn't currently support that color item, than yes, that would be the best solution - extend the

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-15 Thread fredvs
>This will be added in ideU as extra-option : color of focused row and maybe > other color-custom that are missing. Or better, re-code syntax def file (.sdef) file to add a parameter to set the color of datacols[1].colorselected. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-15 Thread fredvs
Hello Graeme. If you want to change it hard-coded, it is in sourcepage.pas, with Object Inspector on grid, change the color of datacols[1].colorselected := cl_yourcolor. see picture:

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-15 Thread fredvs
>I tried that, but it had horrible results on my side, with my color > scheme. See attached screenshots and the file name explaining what you > see. Ha, you did choose nearly the same color for font than the color of the row focused. So in the syntax definition file it should have also a

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-15 Thread Graeme Geldenhuys
On 15/02/2020 11:41 am, fredvs wrote: > There is a very little problem in tprocedurelistfo.JumpToSelectedLine; > The line jumped is 1 line too much. Well spotted. Seems the 0-based indexing into the source editor caught me there. ;-) > Also may I propose to change the color of the line jumped,

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-15 Thread fredvs
Hello Graeme. Many thanks! There is a very little problem in tprocedurelistfo.JumpToSelectedLine; The line jumped is 1 line too much. Also may I propose to change the color of the line jumped, so it is more easy to see. Here the code: procedure tprocedurelistfo.JumpToSelectedLine; var int1:

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-15 Thread Graeme Geldenhuys
On 14/02/2020 6:30 pm, Graeme Geldenhuys wrote: > Thanks for the code, I'll add that functionality back in. I've made the change and merged it into official repository. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-14 Thread Graeme Geldenhuys
On 13/02/2020 11:36 pm, fredvs wrote: > Maybe you may add a oncellevent() method that jump into the source editor to > the line of the method that you 2xcliked. Ah, that was there - double checked with some old MSEide build I had. It must have gotten lost somewhere during the rebase or something.

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-14 Thread fredvs
Hello Graeme. It was the only feature from Geany that was missing. And works very well. I did add a 2xclik in mouse event the ideU version, for those that have a broken keyboard. Hum, in your code: procedure tprocedurelistfo.AddProcedure(...) ... case Language of ltPas: ... ltCpp:

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-14 Thread Graeme Geldenhuys
On 14/02/2020 3:12 am, fredvs wrote: > It works **very** well. > I could not resist too to commit it to ideU. > > Many wow and many thanks. Glad you liked it. :-) I implemented the same feature into Lazarus IDE some 14 years ago (wow, time flies!) as a add-on, and soon after it became standard

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-13 Thread fredvs
Re-hello Graeme. It works **very** well. I could not resist too to commit it to ideU. Many wow and many thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-13 Thread fredvs
Hello Graeme. Sorry I cannot resist... So, add msegridsglob in uses section of procedurelistform unit. Then assign that procedure to grdProcedures.oncellevent(): procedure tprocedurelistfo.oncellev(const sender: TObject; var info: celleventinfoty); begin if info.eventkind =

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-13 Thread fredvs
Excellent Graeme. And so out-of-the-box, load the prj compile and run without any problems. Very useful indeed, Geany has that feature, nice to see it back. Maybe you may add a oncellevent() method that jump into the source editor to the line of the method that you 2xcliked. As usual, "if you

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-13 Thread fredvs
Hello Graeme. I will study you mail deeper but all seems excellent! Write you later. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net