[Lazarus] Cross-platform project. Font sizes not the same....

2019-08-20 Thread Bo Berglund via lazarus
I have just transfered a simple 3-form project from Windows7 to Linux (Raspbian on RPi4). I am using the same versions of Fpc and Lazarus on both (3.0.4 and 2.0.4). The project compiled fine after the transfer to Raspbian as it did on Windows. But the form is very much in need of control changes

Re: [Lazarus] Automatic identifier completion

2019-08-20 Thread Martin Frb via lazarus
Not 100% sure, have to go through the code again. (Also you can add to https://bugs.freepascal.org/view.php?id=33054 ) Just throwing in a few quick notes. For string and comments procedure TSourceEditorManager.OnSourceCompletionTimer(Sender: TObject);   function CheckStartIdentCompletion: boole

Re: [Lazarus] Automatic identifier completion

2019-08-20 Thread Darius Blaszyk via lazarus
Index: ide/editoroptions.pp === --- ide/editoroptions.pp (revision 61726) +++ ide/editoroptions.pp (working copy) @@ -1406,6 +1406,7 @@ TEditorOptions = class(TIDEEditorOptions) private FBlockTabIndent: Integer; +fAutoSh

Re: [Lazarus] Automatic identifier completion

2019-08-20 Thread Darius Blaszyk via lazarus
Now with attachment! 😀 On Tue, Aug 20, 2019 at 6:48 PM Darius Blaszyk wrote: > Hi! > > Attached a (still) naive patch that implements automatic completion upon > keypress. It's already giving me a big boost in productivity so I thought I > might share it here. It would be good to make the identi

Re: [Lazarus] Automatic identifier completion

2019-08-20 Thread Darius Blaszyk via lazarus
Hi! Attached a (still) naive patch that implements automatic completion upon keypress. It's already giving me a big boost in productivity so I thought I might share it here. It would be good to make the identifier invocation a bit smarter. For instance I would like to prevent invocation in case th

Re: [Lazarus] Lazarus on POWER9 Little Endian

2019-08-20 Thread Tobias Giesen via lazarus
It seems to work slightly better on Fedora. It doesn't cause a signal and very briefly, an empty small window appears. The console output is like this: [tobias@blackbird lazarus]$ ./startlazarus is a file (startlazarus:3893): Gdk-ERROR **: 13:02:08.997: The program 'startlazarus' received an X Wi

Re: [Lazarus] Lazarus on POWER9 Little Endian

2019-08-20 Thread Tobias Giesen via lazarus
Hello, I compiled lazarus trunk with Free Pascal Compiler version 3.3.1 [2019/07/12] for powerpc64. I also tried an older FPC snapshot but the result is the same (Free Pascal Compiler version 3.1.1 [2017/10/19] for powerpc64) (gdb) run Starting program: /home/tobias/lazarus/startlazarus [Thread d