Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-24 Thread Hans-Peter Diettrich
Hans-Peter Diettrich schrieb: I guess you identify forms by their name? Yes. I've added a Factory property to the DockingManager, that is responsible for ReloadDockedControl (if set). The IDE should use the docking manager like any LCL app would do. There exist some issues with form

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-22 Thread Mattias Gaertner
On Sun, 22 Nov 2009 01:06:48 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Mattias Gaertner schrieb: The unit ldockctrl is only about anchordocking. You don't need to use or alter it for your docking manager. LDockCtrl describes the interface that is nailed into the IDE units

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-22 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: The unit ldockctrl is only about anchordocking. You don't need to use or alter it for your docking manager. LDockCtrl describes the interface that is nailed into the IDE units and methods. Which were always in IFDEF, so no one will cry if this is changed or broken.

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-22 Thread Mattias Gaertner
On Sun, 22 Nov 2009 14:55:52 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Mattias Gaertner schrieb: The unit ldockctrl is only about anchordocking. You don't need to use or alter it for your docking manager. LDockCtrl describes the interface that is nailed into the IDE units

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-22 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: Let's first get some example running. Last time I tried it did not work. Maybe you can write a text/doc how it is supposed to work. What did you try, and what didn't work? I'm continuously updating the examples and the dock manager, according to new needs. I

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-21 Thread Hans-Peter Diettrich
Martin schrieb: = All this is not likely to be fixed soon = the idea is to wait what happens to IDE docking I'm just trying to hook into IDE docking, by replacing the LDockCtrl unit. Since LDockCtrl is part of the LCL package, it IMO can be overridden in a (local test) Lazarus project by a

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-21 Thread Mattias Gaertner
On Sat, 21 Nov 2009 11:30:23 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Martin schrieb: = All this is not likely to be fixed soon = the idea is to wait what happens to IDE docking I'm just trying to hook into IDE docking, by replacing the LDockCtrl unit. Since LDockCtrl

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-21 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: The unit ldockctrl is only about anchordocking. You don't need to use or alter it for your docking manager. LDockCtrl describes the interface that is nailed into the IDE units and methods. It would be very hard to remove all that stuff, and after all it has to

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-19 Thread Graeme Geldenhuys
Why a complete second window? Why not simply use a split-screen like what is done in many existing editors - including Visual Basic 6? In VB6 you had a little bar in the top right above the scrollbar if I remember correctly. Simply drag the bar down and you have a horizontal split-screen showing

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-19 Thread Martin
Paul Ishenin wrote: Martin wrote: Compiling Lazarus (SVN / Snapshot) with -dSynDualView allows you to open a 2nd window for any open source file. I compiled but I don't see the second window. How to activate it? There is an extra entry in the source-editor pop-up menu, open another view

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-19 Thread Torsten Bonde Christiansen
Graeme Geldenhuys wrote: Why a complete second window? Why not simply use a split-screen like what is done in many existing editors - including Visual Basic 6? I prefer the second window, since most of my time i develop code using multiple monitors (of unequal dimentions and shifted

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-19 Thread Graeme Geldenhuys
Martin wrote: That's why I said: when/if there will be docking. The 2nd 2indow is just a cheap fix for the meantime. Sorry, I jumped the gun a bit with my reply. They are missing, because source-editor isn't yet ready for it. All you currently get is a plain SynEdit. (I know this is a

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-19 Thread Hans-Peter Diettrich
Martin schrieb: Compiling Lazarus (SVN / Snapshot) with -dSynDualView allows you to open a 2nd window for any open source file. The 2nd Window can be edited, and all edits made in one window, are also done in the other window (they edit the same source). Very nice, have to try out

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-19 Thread Martin
Hans-Peter Diettrich wrote: Martin schrieb: Compiling Lazarus (SVN / Snapshot) with -dSynDualView allows you to open a 2nd window for any open source file. The 2nd Window can be edited, and all edits made in one window, are also done in the other window (they edit the same source). Very

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-19 Thread Hans-Peter Diettrich
Martin schrieb: I get an error: uemOpenAnotherView not defined, in sourceeditor.pp? it is in ide\lazarusidestrconsts.pas Maybe you need to make clean all? (or tick the checkbox) That didn't help, but removing the condition around the declaration made it compile on Linux. On Windows I had no

[Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-18 Thread Martin
Note this is a beta feature. this is experimental. The little bit that is there works. But many,many, many things have not yet been implemented. = So if you decide to test/use it, don't complain about the missing bits. Compiling Lazarus (SVN / Snapshot) with -dSynDualView allows you to

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-18 Thread Paul Ishenin
Martin wrote: Compiling Lazarus (SVN / Snapshot) with -dSynDualView allows you to open a 2nd window for any open source file. I compiled but I don't see the second window. How to activate it? Best regards, Paul Ishenin. -- ___ Lazarus mailing