Pete Moss wrote:Is this a bug? It is fixed in 16?
This is not a bug. The duplicate window is by design independent of the main document window. What the main document window and the duplicate window have common is that both are showing the content of the same file. In other words you edit with two windows completely independent from each other window the same file at the same time like when opening two instances of UltraEdit and work with both on the same file. So there is nothing to fix and UE v16.00 works here like UE v14.20.
What could be improved is that UltraEdit saves the bookmarks from both windows on close for the file. I suppose that currently UltraEdit saves the bookmarks of the first window closed and overwrites that information when closing the second window for the same file instead of combining the bookmark lists of both windows on close. The reason is probably also by design. When you would work with 2 separate instances on the same file the result would be the same.
When you want to work on two locations of a file at the same time and want that bookmarks, code folding, etc. is the same for both windows, you have to split the document window into 2 panes instead of using a duplicate window. Of course document window splitting allows only a vertical window pane arrangement, not a horizontal arrangement as when using duplicate windows.
Computer displays are nowadays designed (unfortunately) for viewing movies than for working on text documents because the width is much higher than the height of the display and rotating the display to get smaller width but more height is often not possible with large displays. The result is that more and more applications are designed to make use of the larger width by arranging additional views and toolbars on left or right side to increase the height for the document window itself.