[Lazarus] New feature - View same source in multiple Windows
Martin
lazarus at mfriebe.de
Fri Apr 9 12:31:58 CEST 2010
On 09/04/2010 08:18, Michael Schnell wrote:
> On 04/07/2010 08:41 PM, Martin wrote:
>
>> You can now spread the open units across multiply Windows
>> (Context-Menu "Move to new Window").
>>
> I suppose the cursor position can be different with the several
> instances of the same file. sounds good. (Might be feasible with
> multiple tabs for the same file, as well, which I i9n fact did see by
> accident with an svn version a week or so ago, but I supposed it to be a
> bug).
>
> Which of the multiple instances is to get the focus and a new cursor
> position when a break point is hit ?
>
For each tab (of all tabs of a unique source code), the order of which
one was last focused/active is remembered.
For breakpoint, bookmarks, history jumps,
Find-in-file-result-list/msg-window clicks the last active one is used
(maybe later options will be add, so you could stick with the current
window...)
e.g for msg-window, or find in fles result => you focus the desired tab,
and then choose the result.
Onlty exception "goto prev/next bookmark" looks for the tab that is
closest located according to the search order (forward/back). (excluding
the current source other tabs)
{ } indocate a window (win1 and win2)
{ unit1 unit2 unit3 } {unit2 unit1}
each unit has a bookmark,
W1U1 is active / the order forward will be :
w1-u1
w1-u2
w1-u3
w2-u2 (it's the next tab with a bookmark)
w2-u1
w1-u2 (w1 u1 would have been next, but it will not go ti itself)
More information about the Lazarus
mailing list