Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-19 Thread Martin Schreiber
On Tuesday 18 August 2009 13:49:43 Michael Van Canneyt wrote: If you right-click the tabs, you get a list of available tabs and you can switch to the tab you want by selecting it. What more do you need ? If I have 100 open files, no matter what the visual control, I will need to switch. I

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-19 Thread Marc Weustink
Michael Van Canneyt wrote: On Tue, 18 Aug 2009, Graeme Geldenhuys wrote: Michael Van Canneyt wrote: If you right-click the tabs, you get a list of available tabs and you can switch to the tab you want by selecting it. What more do you need ? Apparently that is only available to the lucky

[Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Graeme Geldenhuys
Hi, Two questions... 1. Why is the TNoteBook component used for editor pages instead of the TPageControl. I thought the TPageControl was preferred component in applications? 2. Why doesn't the TNoteBook component have a TabPosition property? I wanted to modify my Lazarus IDE so that the

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Graeme Geldenhuys
Vincent Snijders wrote: What does this have to do with wide screen monitors? Even if unit names are long, which would make the tabs long, with a wide screen you should still have screen space to resize your editor to your comfortable size. Have long unit names, only a few tabs fit the

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Graeme Geldenhuys
Graeme Geldenhuys wrote: 2. Why doesn't the TNoteBook component have a TabPosition property? I Looking at the GTK documentation, it seems the GTK Notebook component does have a property to position it's tabs. http://library.gnome.org/devel/gtk/unstable/GtkNotebook.html void

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Vincent Snijders
Graeme Geldenhuys schreef: Vincent Snijders wrote: What does this have to do with wide screen monitors? Even if unit names are long, which would make the tabs long, with a wide screen you should still have screen space to resize your editor to your comfortable size. Do you claim, that

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Martin
Vincent Snijders wrote: Graeme Geldenhuys schreef: Hi, What could be a solution so we can position the tabs in the editor. With wide screen monitors, it will be much more beneficial to have the tabs on the right edge compared to the default top. No scroll (or much less scrolling) of tabs

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Martin
Graeme Geldenhuys wrote: Vincent Snijders wrote: Do you claim, that with a normal screen, there is not enough space to put the tabs vertical (on the left) and then you have to scroll vertically? I quickly hacked my IDE to show what I mean.

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Michael Van Canneyt
On Tue, 18 Aug 2009, Martin wrote: Vincent Snijders wrote: Graeme Geldenhuys schreef: Hi, What could be a solution so we can position the tabs in the editor. With wide screen monitors, it will be much more beneficial to have the tabs on the right edge compared to the default top. No

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Graeme Geldenhuys
Martin wrote: That wouldn;t work for windows, because tabs are ratoted by 90 degree (verical text) if you put them on the side I did a Google search and found the following. So it must be possible - it probably just needs some extra settings. The application configuration in vs 2005 beta

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Graeme Geldenhuys
Martin wrote: Maybe he should have a look at http://bugs.freepascal.org/view.php?id=13930 that may help him. I already have that plugin and have used it for a while. That is probably the second best option available. And I really like the drag-to-reorder feature of that plugin! If

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Vincent Snijders
Graeme Geldenhuys schreef: Michael Van Canneyt wrote: If you right-click the tabs, you get a list of available tabs and you can switch to the tab you want by selecting it. What more do you need ? Apparently that is only available to the lucky few that use the GTK2 widgetset. As far as I

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Michael Van Canneyt
On Tue, 18 Aug 2009, Graeme Geldenhuys wrote: Michael Van Canneyt wrote: If you right-click the tabs, you get a list of available tabs and you can switch to the tab you want by selecting it. What more do you need ? Apparently that is only available to the lucky few that use the GTK2

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: Like I said: If you have sufficiently open files, you'll get to a point where you no longer can show them all. True. Luckily my personal usage I normally don't go over 15 open files. Happens faster than you think. So your hack will work for another 15 files or

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Graeme Geldenhuys
Vincent Snijders wrote: Oh, I thought it was only one extra click. As per a very unofficial study, the avg. programmer does 6000+ left clicks and 2500+ right clicks per day! So that will actually work out to be a lot more that one extra click per day. ;-) I would expect to be able to

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: If docking was supported in Lazarus IDE, I would continue using that again, and hide the editor tabs (new option in Environmont Editor). I made an prototype for an multi-window docking editor (examples/dockmanager/easyedit). Every page can be detached by dragging

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Funky Beast
Graeme Geldenhuys wrote: Martin wrote: Maybe he should have a look at http://bugs.freepascal.org/view.php?id=13930 that may help him. I already have that plugin and have used it for a while. That is probably the second best option available. And I really like the drag-to-reorder feature