Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 May 2020, Bo Berglund via lazarus wrote: On Mon, 25 May 2020 07:36:55 +0200 (CEST), Michael Van Canneyt via lazarus wrote: On Sun, 24 May 2020, Bo Berglund via lazarus wrote: Comment=Lazarus IDE 2.0.8 Terminal=false Name=Lazarus 2.0.8

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Bo Berglund via lazarus
On Mon, 25 May 2020 07:36:55 +0200 (CEST), Michael Van Canneyt via lazarus wrote: > > >On Sun, 24 May 2020, Bo Berglund via lazarus wrote: > >> Comment=Lazarus IDE 2.0.8 >> Terminal=false >> Name=Lazarus 2.0.8 >> Exec=/home/bosse/dev/lazarus/2.0.8/startlazarus > >Set this to >/bin/bash -l

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Bo Berglund via lazarus
On Mon, 25 May 2020 09:13:42 +0200 (CEST), Michael Van Canneyt via lazarus wrote: > > >On Mon, 25 May 2020, Bo Berglund via lazarus wrote: > >> On Mon, 25 May 2020 07:36:55 +0200 (CEST), Michael Van Canneyt via >> lazarus wrote: >> >>> >>> >>> On Sun, 24 May 2020, Bo Berglund via lazarus wrote:

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 May 2020, Bo Berglund via lazarus wrote: /home/bosse/dev/lazarus/2.0.8/startlazarus --pcp=/home/bosse/.lazarus_2.0.8 %f You must omit the %f on the command line. What happens if you do /bin/bash -l -c '/home/bosse/dev/lazarus/2.0.8/startlazarus

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 May 2020, Bo Berglund via lazarus wrote: On Mon, 25 May 2020 12:32:59 +0200 (CEST), Michael Van Canneyt via lazarus wrote: Then Lazarus starts OK but again throws the error due to /home/bosse/bin missing from PATH. Where is it added to the PATH ? Normally, if you do this in

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 May 2020, Bo Berglund via lazarus wrote: So if I have this desktop file in ~/.local/share/applications it will work from the menu too: [Desktop Entry] Comment=Lazarus IDE 2.0.8 Terminal=false Name=Lazarus 2.0.8 #Entry below in order to secure setting up PATH correctly on start

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Bo Berglund via lazarus
On Mon, 25 May 2020 19:06:32 +0200 (CEST), Michael Van Canneyt via lazarus wrote: >> It is in ~/.profile > >Take care: if either of > ~/.bash_profile, ~/.bash_login, >exist, then .profile is not read. > Well that is not the case either... ~$ ls -la .bas* -rw--- 1 bosse bosse 20005 maj

[Lazarus] TAction and Short-cut conflicts

2020-05-25 Thread R.Smith via lazarus
I've been using the TActionList and TAction objects, which I think is not only making life easier, but a good design choice, and it's been working a treat. One niggle is, when I assign a short-cut to a TAction and then assign that TAction to any of the action-enabled controls, it lists the

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Bo Berglund via lazarus
On Mon, 25 May 2020 12:32:59 +0200 (CEST), Michael Van Canneyt via lazarus wrote: >> Then Lazarus starts OK but again throws the error due to >> /home/bosse/bin missing from PATH. > >Where is it added to the PATH ? Normally, if you do this in .bashrc or >.profile, the -l option forces bash to

Re: [Lazarus] TAction and Short-cut conflicts

2020-05-25 Thread Vojtěch Čihák via lazarus
I didn't know that Menu Editor has this feature. I tried and my project has >160 conflicts and I can confirm what you report. I also noticed that it reports Alt+C (i.e. accelerators, when some caption is "_Cut" with underlined _C_). And the window needs better anchoring for vertical resizing

Re: [Lazarus] TAction and Short-cut conflicts

2020-05-25 Thread R.Smith via lazarus
> I also noticed that it reports Alt+C (i.e. accelerators, when some caption is "_Cut" with underlined _C_). > V. Indeed, I did not mention this in the initial post because of TLDR; fears (though I would in the bug report, but the jury is still out on if this is even a bug) - thank you for

[Lazarus] IDE "Rename identifier" misfeature

2020-05-25 Thread Alexey Tor. via lazarus
Hello ATSynEdit has such function procedure TATSynRanges.DeleteFromLineIndexer(AIndex: integer); var   Ptr: PATSynRange;   NItemLen, iLine, iItem, j: integer; begin   Ptr:= ItemPtr(AIndex);   for iLine:= Ptr^.Y2 downto Ptr^.Y do   begin     ..   end; end; when I do "Rename identifier" from Ptr