Re: [Lazarus] IDE Spotter

2018-09-24 Thread Mattias Gaertner via Lazarus
On Sun, 23 Sep 2018 17:42:45 -0700 Ralf Quint via Lazarus wrote: > On 9/23/2018 11:38 AM, Marcos Douglas B. Santos via Lazarus wrote: > > On Sun, Sep 23, 2018 at 2:28 PM Michael Van Canneyt via Lazarus > > wrote: > >> (I guess everyone now guessed, I don't u > > I thought that I was the last

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Juha Manninen via Lazarus
Tested IDE Spotter on Linux / GTK2. Looks promising although it leaks memory. Regards, Juha --- Heap dump by heaptrc unit 4466835 memory blocks allocated : 800495659/813452344 4464534 memory blocks freed : 800391839/813341848 2301 unfreed memory blocks : 103820 True heap size : 4259840 True f

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, Juha Manninen via Lazarus wrote: Tested IDE Spotter on Linux / GTK2. Looks promising although it leaks memory. Hm. How to fix this ? because line 179 is: if SpotterForm=Nil then begin SpotterForm:=TSpotterForm.Create(Application); The form is owned by the TApplicat

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Michael Van Canneyt via Lazarus
The stack trace is highly misleading. I applied a possible fix; Please test and report. Michael. On Mon, 24 Sep 2018, Michael Van Canneyt via Lazarus wrote: On Mon, 24 Sep 2018, Juha Manninen via Lazarus wrote: Tested IDE Spotter on Linux / GTK2. Looks promising although it leaks memory

Re: [Lazarus] IDE Spotter

2018-09-24 Thread R0b0t1 via Lazarus
On Sun, Sep 23, 2018 at 1:16 PM, Michael Van Canneyt via Lazarus wrote: > > Hello, > > I've polished something that was started during the Lazarus Pro conference > in Bonn the last days, the IDE Spotter (this is a "Working Title"). > > The idea is to have a command box such as it exists in Atom or

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Juha Manninen via Lazarus
On Mon, Sep 24, 2018 at 11:51 AM Michael Van Canneyt via Lazarus wrote: > I applied a possible fix; Please test and report. The Subversion server and bug tracker are down. I will try later again. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, Juha Manninen via Lazarus wrote: On Mon, Sep 24, 2018 at 11:51 AM Michael Van Canneyt via Lazarus wrote: I applied a possible fix; Please test and report. The Subversion server and bug tracker are down. I will try later again. They work here ? Michael. -- __

[Lazarus] freepascal.org needs renewal

2018-09-24 Thread Mattias Gaertner via Lazarus
Hopefully some fpc guy reads the lazarus list: Going to www.freepascal.org gives: "www.freepascal.org has expired and is pending renewal or deletion." Also all mails to fpc lists bounce back because of this. Mattias -- ___ Lazarus mailing list Laza

Re: [Lazarus] freepascal.org needs renewal

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, Mattias Gaertner via Lazarus wrote: Hopefully some fpc guy reads the lazarus list: Going to www.freepascal.org gives: "www.freepascal.org has expired and is pending renewal or deletion." Also all mails to fpc lists bounce back because of this. I've renewed the domain

[Lazarus] Is it possible to install the SynEdit used in Lazarus in Delphi?

2018-09-24 Thread Jose Claudio Faria via Lazarus
Hi, The SynEdit component used in Lazarus project runs only in the Lazarus IDE or is it possible to install it in Delphi 10.2 (for example)? Best, ///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\ Jose Claudio Faria UESC/DCET/Brasil joseclaudio.faria at gmail.com Telefones: 55(73)3680.5545 - UESC

[Lazarus] IDE Spotter

2018-09-24 Thread AlexeyT via Lazarus
1- If i hold Up/Down key (edit is focused), i dont get many up/down moves in listbox. (only one move. Ubuntu 18 gtk2). 2- colors (red, green) are configurable? Alex -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.or

[Lazarus] IDE Spotter- issues

2018-09-24 Thread AlexeyT via Lazarus
3- input (edit) is not autosized, so height is small on Ubuntu. 4- if window is narrow: hotkey overlaps caption. better do: caption overlaps hotkey. Alex -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread AlexeyT via Lazarus
5- on opening window, list is empty. i type "d", backspace, now list is _not empty? Alex -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: 1- If i hold Up/Down key (edit is focused), i dont get many up/down moves in listbox. (only one move. Ubuntu 18 gtk2). Don't keep it pressed. press multiple times. 2- colors (red, green) are configurable? Yes. See "Tools - Options - Enviro

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: 3- input (edit) is not autosized, so height is small on Ubuntu. So ? 4- if window is narrow: hotkey overlaps caption. better do: caption overlaps hotkey. I disagree. I specially chose it like this. Michael. -- ___

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: 5- on opening window, list is empty. i type "d", backspace, now list is _not empty? I will change this. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.or

Re: [Lazarus] Is it possible to install the SynEdit used in Lazarus in Delphi?

2018-09-24 Thread Mattias Gaertner via Lazarus
On Mon, 24 Sep 2018 09:33:48 -0300 Jose Claudio Faria via Lazarus wrote: > Hi, > > The SynEdit component used in Lazarus project runs only in the Lazarus IDE > or is it possible to install it in Delphi 10.2 (for example)? No. For example it does not support UTF-16. Mattias -- ___

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Mattias Gaertner via Lazarus
On Mon, 24 Sep 2018 15:00:59 +0200 (CEST) Michael Van Canneyt via Lazarus wrote: > On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: > > > 1- If i hold Up/Down key (edit is focused), i dont get many up/down > > moves in listbox. > > (only one move. Ubuntu 18 gtk2). > > Don't keep it pressed. p

[Lazarus] Domain again OK.

2018-09-24 Thread Michael Van Canneyt via Lazarus
Hi, The DNS for freepascal.org should again be OK. The renewal request was processed and the DNS servers reinstated. It may take some time for the renewal to reach your DNS server. My apologies for the oversight. Michael. -- ___ Lazarus mailing list

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, Mattias Gaertner via Lazarus wrote: On Mon, 24 Sep 2018 15:00:59 +0200 (CEST) Michael Van Canneyt via Lazarus wrote: On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: > 1- If i hold Up/Down key (edit is focused), i dont get many up/down > moves in listbox. > (only one m

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT wrote: 3- input (edit) is not autosized, so height is small on Ubuntu. So ? better set AutoSize=true, so height will be native. (1.3x bigger.) Done. Originally there were some resizing problems. At some point I indeed disabled AutoSize, because the effect of

Re: [Lazarus] IDE Spotter

2018-09-24 Thread AlexeyT via Lazarus
 >I think the window should be as minimalistic as possible. good to add: spacing around edit (top, left, right) and listbox (left, right, bottom), 4-6pixels. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.

Re: [Lazarus] IDE Spotter

2018-09-24 Thread AlexeyT via Lazarus
On 24.09.2018 13:26, R0b0t1 via Lazarus wrote: IDE Spotter (this is a "Working Title"). Sublime Text and CudaText and Atom: name is Command Palette, better use this. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http

[Lazarus] IDE Spotter- issues

2018-09-24 Thread AlexeyT via Lazarus
1- better use default color purple (or dark blue, Navy) instead of red. 2- w/o opened source editor, spotter don't called by hotkey. instead Project mainmenu pops up. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: On 24.09.2018 13:26, R0b0t1 via Lazarus wrote: IDE Spotter (this is a "Working Title"). Sublime Text and CudaText and Atom: name is Command Palette, better use this. Originally I did exactly that. But Mattias wanted a more catchy name. We s

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: 1- better use default color purple (or dark blue, Navy) instead of red. Good point. Will change. 2- w/o opened source editor, spotter don't called by hotkey. instead Project mainmenu pops up. Seems like a bug in the shortcut key handling

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Alexey via Lazarus
I suggest shorter title - Runner. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] IDE Spotter- issues

2018-09-24 Thread AlexeyT via Lazarus
3- better add inner (inside listbox) left indent of text: 3-4pix. 4- right indent is too big (15-20pix even with scrollbar), use same 3-4pix as left (considering scrollbar) -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: 3- better add inner (inside listbox) left indent of text: 3-4pix. Will do. 4- right indent is too big (15-20pix even with scrollbar), use same 3-4pix as left (considering scrollbar) Currently, the scroll bar width as reported is always used

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT wrote: How do I know if the scrollbar is visible ? TListbox.ClientWidth gives width considering scrollbar. OK, thank you. But should not the Rect in the ListBox OnDrawItem already take this into account ? Michael. -- __

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Vojtěch Čihák via Lazarus
TEdit.Autosize does autosizing of edit's Height to its Font (mainly font.size or font.height). It does not affect edit's Width. V. __ Od: "Michael Van Canneyt via Lazarus" Komu: "Lazarus mailing list" , "AlexeyT" Datum: 24.09.2018 15

Re: [Lazarus] Domain again OK.

2018-09-24 Thread Mattias Gaertner via Lazarus
On Mon, 24 Sep 2018 15:13:58 +0200 (CEST) Michael Van Canneyt via Lazarus wrote: > Hi, > > The DNS for freepascal.org should again be OK. It is. :) Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listi

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Mattias Gaertner via Lazarus
On Mon, 24 Sep 2018 15:21:09 +0200 (CEST) Michael Van Canneyt via Lazarus wrote: >[...] > > Maybe add a small button for settings. > > OK. How to open the settings dialog on a particular tab ? Something like this LazarusIDE.DoOpenIDEOptions(TYourIDEOptionsFrame); > >> This is actually docum

Re: [Lazarus] IDE Spotter

2018-09-24 Thread wkitty42--- via Lazarus
On 09/24/2018 09:00 AM, Michael Van Canneyt via Lazarus wrote: On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: 1- If i hold Up/Down key (edit is focused), i dont get many up/down moves in listbox. (only one move. Ubuntu 18 gtk2). > Don't keep it pressed. press multiple times. auto-key-repea

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, wkitty42--- via Lazarus wrote: On 09/24/2018 09:00 AM, Michael Van Canneyt via Lazarus wrote: On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: 1- If i hold Up/Down key (edit is focused), i dont get many up/down moves in listbox. (only one move. Ubuntu 18 gtk2). > Don't

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Mattias Gaertner via Lazarus
On Tue, 25 Sep 2018 07:54:44 +0200 (CEST) Michael Van Canneyt via Lazarus wrote: > On Mon, 24 Sep 2018, wkitty42--- via Lazarus wrote: > > > On 09/24/2018 09:00 AM, Michael Van Canneyt via Lazarus wrote: > >> On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: > >> > >>> 1- If i hold Up/Down ke