Re: [Lazarus] gdb problems on ubtuntu 19.10

2019-11-02 Thread Anthony Walter via lazarus
If anyone wants to follow along with this problem, I've posted a question about it on askubuntu here: https://askubuntu.com/questions/1185729/ubuntu-19-10-gdb-nearly-unusable-long-delay -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://l

[Lazarus] gtk2 font sizes

2019-11-02 Thread C Western via lazarus
I have just upgraded to Fedora 31, and noticed some odd effects with font sizes. With some investigation the cause seems to be that the underlying font sizes can be a non-integer number of pixels; with a 'MonoSpace' example looking at gtk2widgetset.inc:5919: TextMetric.tmAscent := pango_font_m

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Michael Van Canneyt via lazarus
On Sat, 2 Nov 2019, Sven Barth via lazarus wrote: Martin Frb via lazarus schrieb am Sa., 2. Nov. 2019, 16:29: You mention using RealVNC in another mail. IIRC there were some very strange key effects reported with vnc in the past (no idea if that applies to RealVNC). From distant memory,

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Sven Barth via lazarus
Martin Frb via lazarus schrieb am Sa., 2. Nov. 2019, 16:29: > You mention using RealVNC in another mail. > > IIRC there were some very strange key effects reported with vnc in the > past (no idea if that applies to RealVNC). > From distant memory, vnc sends control keys with a timestamp that do

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Ralf Quint via lazarus
On 11/2/2019 7:42 AM, Martin Frb via lazarus wrote: Alt - n (1-9) is "goto source editor n" (switch to tab n) Why this triggers on altgr for you, I am not sure I am almost certain that this is an issue with the access VNC, and would not occur on the RPi if you connect a keyboard to it and tes

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Martin Frb via lazarus
On 02/11/2019 16:10, Bo Berglund via lazarus wrote: On Sat, 2 Nov 2019 15:42:54 +0100, Martin Frb via lazarus wrote: Alt - n (1-9) is "goto source editor n" (switch to tab n) Why this triggers on altgr for you, I am not sure OK, but then where in Key Mappings do I find it so I can disable it?

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Bo Berglund via lazarus
On Sat, 2 Nov 2019 15:42:54 +0100, Martin Frb via lazarus wrote: >Alt - n (1-9) is "goto source editor n" (switch to tab n) >Why this triggers on altgr for you, I am not sure OK, but then where in Key Mappings do I find it so I can disable it? It is very confusing for me not having used these be

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Martin Frb via lazarus
On 02/11/2019 15:34, Bo Berglund via lazarus wrote: On Sat, 2 Nov 2019 15:04:15 +0100, Sven Barth via lazarus wrote: Bo Berglund via lazarus schrieb am Sa., 2. Nov. 2019, 14:59: If I am in a tab to the right (not the left-most tab) with the cursor anywhere in the code and I want to add say

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-02 Thread Martin Frb via lazarus
On 02/11/2019 14:48, Bo Berglund via lazarus wrote: Now it happened again! I was compiling the program then executing it inside a terminal (external to Lazarus) and then repeating this to find my bug. When I found it I doubleclicked the name of my logging component to copy its name, but instead

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Bo Berglund via lazarus
On Sat, 2 Nov 2019 15:04:15 +0100, Sven Barth via lazarus wrote: >Bo Berglund via lazarus schrieb am Sa., 2. >Nov. 2019, 14:59: > >> On Sat, 02 Nov 2019 11:10:32 +0100, Bo Berglund via lazarus >> wrote: >> >> I just found another strange IDE "feature": >> >> If I am in a tab to the right (not t

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Sa., 2. Nov. 2019, 14:59: > On Sat, 02 Nov 2019 11:10:32 +0100, Bo Berglund via lazarus > wrote: > > I just found another strange IDE "feature": > > If I am in a tab to the right (not the left-most tab) with the cursor > anywhere in the code and I want to add s

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Bo Berglund via lazarus
On Sat, 02 Nov 2019 11:10:32 +0100, Bo Berglund via lazarus wrote: I just found another strange IDE "feature": If I am in a tab to the right (not the left-most tab) with the cursor anywhere in the code and I want to add say a { character, I need to press AltGr (the right hand Alt key) and the 7

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-02 Thread Bo Berglund via lazarus
On Fri, 1 Nov 2019 23:03:16 +0100, Martin Frb via lazarus wrote: >> I have never before encountered a crash like this, could it be because >> the IDE is so "fresh out of the presses"? >Good question "why". That can't be answered easily. And the issue could >be new or old. > >Unfortunately more i

Re: [Lazarus] Separation of source code and compiled units

2019-11-02 Thread Giuliano Colla via lazarus
Il 02/11/2019 11:26, Karl-Michael Schindler via lazarus ha scritto: I am working on the package description for lazarus for MacPorts and are struggling with the following: $PREFIX/share/lazarus contains the source code as well as the compiled units. In case lazarus is recompiled the directory

Re: [Lazarus] Separation of source code and compiled units

2019-11-02 Thread Karl-Michael Schindler via lazarus
Am 02.11.2019 um 12:00 schrieb Sven Barth via : > Karl-Michael Schindler via lazarus schrieb > am Sa., 2. Nov. 2019, 11:27: > >> Hi >> >> I am working on the package description for lazarus for MacPorts and are >> struggling with the following: $PREFIX/share/lazarus contains the source >> code

Re: [Lazarus] Separation of source code and compiled units

2019-11-02 Thread Sven Barth via lazarus
Karl-Michael Schindler via lazarus schrieb am Sa., 2. Nov. 2019, 11:27: > Hi > > I am working on the package description for lazarus for MacPorts and are > struggling with the following: $PREFIX/share/lazarus contains the source > code as well as the compiled units. In case lazarus is recompiled

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Sa., 2. Nov. 2019, 11:10: > Is this possible already (but hidden in the standard config of > Lazarus) or is it a new feature noone has requested before? > Tools -> Options -> Codetools -> General -> Jump directly to method body Regards, Sven > -- ___

[Lazarus] Separation of source code and compiled units

2019-11-02 Thread Karl-Michael Schindler via lazarus
Hi I am working on the package description for lazarus for MacPorts and are struggling with the following: $PREFIX/share/lazarus contains the source code as well as the compiled units. In case lazarus is recompiled the directory $PREFIX/share/lazarus needs to be writable by all users. At least

[Lazarus] Annoying code completion failure

2019-11-02 Thread Michael Van Canneyt via lazarus
Hi, TStrings has a property property Values[const Name: string]: string read GetValue write SetValue; The setter is defined as: procedure SetValue(const Name, Value: string); Note that both arguments are 'const' When adding a new property, and pressing 'CTRL-C', the IDE adds the new pr

[Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Bo Berglund via lazarus
When I am working on a multi-unit application I very often want to check the implementation of a function which is called from somewhere. So I right click the function name in the code line and select "Find Declaration of " This brings me invariably to the interface section function declaration f

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-02 Thread Bo Berglund via lazarus
On Sat, 2 Nov 2019 06:00:44 +0100, Ondrej Pokorny via lazarus wrote: >On 01.11.2019 23:03, Martin Frb via lazarus wrote: >> Well and a "autosave" feature might be nice, but needs to be written... > >The project is always automatically saved when you compile it. > Yes, I know that and it works fi

Re: [Lazarus] gdb problems on ubtuntu 19.10

2019-11-02 Thread Michael Van Canneyt via lazarus
On Fri, 1 Nov 2019, Anthony Walter via lazarus wrote: An update. I installed Linux Mint 19.2 on the same laptop and re-ran my install script. The problem previously described with gdb did not present itself. This leads me to believe there is some kind of problem with gdb in Ubtuntu 19.10, the