Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-10

Lazarus questions (auto complete, searching, docking, edit height)

10 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marius

After release fpc 2.2.2, recent TFrame introduction and some spare time i'm gonna experiment some more. Compiling went very well and i had some quick looks today with a few simple projects.

I have collected a few simple questions:

-Is there an ide option to turn off the "auto complete" option of the comboboxes in both the find dialogs. I keep searching for the wrong text because of it ;) Would it be a problem if i adjusted it with a switch via the editor options? Standard will be autocomplete=true.

-What are the thought on having a combined "Find" and "Find in files" dialog? How about a form with the findtext and replacetext on top and a pagecontrol below with two tabs for the standard and find in files?

-Is it possible to turn on docking via the ide options? Or is it still done via an include file? (i forgot which include file it was though). Would it be a problem if i introduced a switch in the editor options for this or is this unwanted? I know its still beta, but still i like it..

-Why is the default height of an edit these days 23 instead of 21, has this changed recently? The edit(s) looks kind of large and weird having that height. Is there any reason for this particulary height or is this an issue in my lazarus instalation?

-Would it be a problem to have a seperate IDE window for the structure view instead of a fixed one in the object inspector. IMO the current structure view is to small and it is also limiting the size of the object explorer.

-I still see the same keyboard bugs in the objectinspector. What is the best (and quickest) way to apply patches into lazarus these day's?

Greetings,
Marius

Reply by email

John Stoneham
to Mattias Gärtner
Mattias G?rtner wrote 10 lines
Zitat von Marius : > -Would it be a problem to have a seperate IDE window for the structure > view instead of a fixed one in the object inspector. IMO the current > structure view is to small and it is also limiting the size of the > object explorer. At the moment you can only use the splitter between to change the size.

I too would like to have an option to separate the Object Inspector into two windows. My current project has over 700 objects on the main form, and having the tree-view of the objects share space with their Properties/Events is a real pain.

_| ( ) |-| |\| -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20081010/6f38e6e6/attachment.html

Reply by email

Michael Van Canneyt
to John Stoneham
John Stoneham wrote 17 lines
On Fri, Oct 10, 2008 at 5:34 AM, Mattias G?rtner wrote: > Zitat von Marius : > > > -Would it be a problem to have a seperate IDE window for the structure > > view instead of a fixed one in the object inspector. IMO the current > > structure view is to small and it is also limiting the size of the > > object explorer. > > At the moment you can only use the splitter between to change the size. > > I too would like to have an option to separate the Object Inspector into two windows. My current project has over 700 objects on the main form, and having the tree-view of the objects share space with their Properties/Events is a real pain.

Why not use the object drop-down instead of the treeview ? I never use the treevies ?

Michael.

Reply by email

John Stoneham
to Michael Van Canneyt

2008/10/10 Michael Van Canneyt

Show quoted text 35 lines
On Fri, 10 Oct 2008, John Stoneham wrote: > On Fri, Oct 10, 2008 at 5:34 AM, Mattias G?rtner > wrote: > > > Zitat von Marius : > > > > > -Would it be a problem to have a seperate IDE window for the structure > > > view instead of a fixed one in the object inspector. IMO the current > > > structure view is to small and it is also limiting the size of the > > > object explorer. > > > > At the moment you can only use the splitter between to change the size. > > > > > I too would like to have an option to separate the Object Inspector into two > windows. My current project has over 700 objects on the main form, and > having the tree-view of the objects share space with their Properties/Events > is a real pain. Why not use the object drop-down instead of the treeview ? I never use the treevies ? Michael. _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

The dropdown list is even worse than the treeview when you have close to 1,000 objects on a form.

_| ( ) |-| |\| -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20081010/5e2e5d49/attachment.html

Reply by email

Michael Van Canneyt
to John Stoneham
John Stoneham wrote 40 lines
2008/10/10 Michael Van Canneyt > > > On Fri, 10 Oct 2008, John Stoneham wrote: > > > On Fri, Oct 10, 2008 at 5:34 AM, Mattias G?rtner > > wrote: > > > > > Zitat von Marius : > > > > > > > -Would it be a problem to have a seperate IDE window for the > structure > > > > view instead of a fixed one in the object inspector. IMO the current > > > > structure view is to small and it is also limiting the size of the > > > > object explorer. > > > > > > At the moment you can only use the splitter between to change the size. > > > > > > > > I too would like to have an option to separate the Object Inspector into > two > > windows. My current project has over 700 objects on the main form, and > > having the tree-view of the objects share space with their > Properties/Events > > is a real pain. > > Why not use the object drop-down instead of the treeview ? I never use the > treevies ? > > Michael. > _______________________________________________ > Lazarus mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > The dropdown list is even worse than the treeview when you have close to 1,000 objects on a form.

Could be, I never had SO many objects :-)
Maybe you should split the form up in frames, then ?

Michael.

Reply by email

John Stoneham
to Michael Van Canneyt

2008/10/10 Michael Van Canneyt

Show quoted text 7 lines
Could be, I never had SO many objects :-) Maybe you should split the form up in frames, then ? Michael.

Bacially, the app is all about preferences, and is divided up with many tab pages and sub-pages and sub-tabs, so they all appear as belonging to the main form. When I started the project, TFrame wasn't available, and I haven't looked yet at trying to incorporate it.

_| ( ) |-| |\| -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20081010/d89f7e27/attachment.html

Reply by email

marius
to Mattias Gärtner: An embedded and charset-unspecified text was scrubbed... Name: not available Url:…
Please create one thread per topic.

Sry, np. Next time i will..

Show quoted text 9 lines
> -Is there an ide option to turn off the "auto complete" option of the > comboboxes in both the find dialogs. I keep searching for the wrong text > because of it ;) Would it be a problem if i adjusted it with a switch > via the editor options? Standard will be autocomplete=true. > IMO it would be more intuive, if there is a speedbutton to the right of the combobox to turn it on/off.

I rather would have 1 simple setting for both the comboboxes in the find dialogs (and any other combobox which needs this behaviour). The good news is i already solved this (simple) one, just need to create the patch.

Show quoted text 10 lines
> -What are the thought on having a combined "Find" and "Find in files" > dialog? How about a form with the findtext and replacetext on top and a > pagecontrol below with two tabs for the standard and find in files? > They have different sizes. The find dialog is small and is positioned, so that the current line is still visible. This is not possible with the find in files dialog.

I know the forms have different sizes, it can be easely changed to fit both AFAICS. The find files dialog needs to be adjusted; the "options" and "where" can be placed next to each other (horizontal) and then they are almost equally in size.
Btw; the placement of the find dialog is sometimes wrong, in this case the bottom of the find dialog is not visible (out of screen). I f this occurs i rather would have the dialog centered.

Show quoted text 8 lines
> -Why is the default height of an edit these days 23 instead of 21, has > this changed recently? The edit(s) looks kind of large and weird having > that height. Is there any reason for this particulary height or is this > an issue in my lazarus instalation? > Set Edit1.AutoSize=true to get the default height of the current platform.

I believe it was 21 on windows AFAICS. Its really no biggy, it just look weird and its a "lot" of work to adjust the edits.

Show quoted text 9 lines
> -Would it be a problem to have a seperate IDE window for the structure > view instead of a fixed one in the object inspector. IMO the current > structure view is to small and it is also limiting the size of the > object explorer. > At the moment you can only use the splitter between to change the size.

I know and i would like to adjust it by adding a structure window.

Show quoted text 5 lines
> -I still see the same keyboard bugs in the objectinspector. > Which ones?

1) Combo in the top. It is not sorted, it cannot be selected via ctrl-space (a standard shortcut in delphi), when the combo is finally down you cannot use the up and down arrow keys to select other components on the form (instead it closes the combo and goes to the next property), the pgup and pgdn keys work Ok.
2) When the combo is down and you have selected a component via pgup/pgdn you cannot select the component with enter.
3) Type ahead in the combo is not accepted (it is when its sorted though)
4) Properties with comboboxes can now be manually modified by just typing text in it. With Style=csDropDownList its much easier to enter the right value.

I had a patch in the past for the OI but it got lost somewhere in the dommelstein mailbox, i will create the changes again (not really a problem)

Show quoted text 5 lines
> What is the best (and quickest) way to apply patches into lazarus these day's? > Quick for you, or quick for the lazarus devels?

Would be nice if it was quick and easy for all ;) The main reason i ask is because the previous patch on the OI was lost so i will not use the dommelstein mailbox again.

A change to the keys/focusing of the OI must be tested on all platforms. Some platforms have restrictions, some have bugs.

Don't think my simple changes will require much testing, but since i only work on windows it cannot hurt either to test on other platforms.

Reply by email

Mattias Gärtner
to Michael Van Canneyt: Could be, I never had SO many objects :-) Maybe you should split the form up in frames,…

Zitat von Michael Van Canneyt :

Show quoted text 51 lines
On Fri, 10 Oct 2008, John Stoneham wrote: > 2008/10/10 Michael Van Canneyt > > > > > > > On Fri, 10 Oct 2008, John Stoneham wrote: > > > > > On Fri, Oct 10, 2008 at 5:34 AM, Mattias G??rtner > > > wrote: > > > > > > > Zitat von Marius : > > > > > > > > > -Would it be a problem to have a seperate IDE window for the > > structure > > > > > view instead of a fixed one in the object inspector. IMO the current > > > > > structure view is to small and it is also limiting the size of the > > > > > object explorer. > > > > > > > > At the moment you can only use the splitter between to change the size. > > > > > > > > > > > I too would like to have an option to separate the Object Inspector into > > two > > > windows. My current project has over 700 objects on the main form, and > > > having the tree-view of the objects share space with their > > Properties/Events > > > is a real pain. > > > > Why not use the object drop-down instead of the treeview ? I never use the > > treevies ? > > > > Michael. > > _______________________________________________ > > Lazarus mailing list > > > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > > > > > The dropdown list is even worse than the treeview when you have close to > 1,000 objects on a form. Could be, I never had SO many objects :-) Maybe you should split the form up in frames, then ?

Keep in mind, that some LCL algorithms are O(n^3). Many are O(n^2). 1000 controls on one form are slow.
And difficult for the user.

Mattias

Reply by email