On 10/27/2015 01:51 AM, Leif Halvard Silli wrote:
XMLEditor allows different views in the same window - to the same text.
A nice feature. However, let’s say the window contains two views, then I
would have expected that the other would not scroll in parallel with the
first view.
And actually, it does not scroll. Or, in truth, it does not scroll
*until* I place the mouse pointer/cursor into one of the views. *Then*
the other view scrolls to the same positioning - resulting in two views
with the same content.
Is this (not) at bug?
No.
Or is there at least a way to avoid this behavior?
No.
The purpose of using views can of course be to wath the source code in
parallel wih the WYSIWYG mode. In that case, synced views are nice.
All users of multi-views display the styled view and the tree view
(and/or the TOC/structure view) side by side. In this case, the views
need to indeed to be in sync.
But there can also be other uses: I, for instance, my use case is simply to
be able to look at one part of the text while editing another part of
the same text - for that the views should not be synced.
This feature is currently not implemented.
At first sight, this feature looks like being quite simple to implement
using multi-views, but this is not at all the case, due to the internal
design of XXE (marks such as the caret or node selection are added to
the document nodes and not to node views).
A possible workaround to activate the feature called 'Enable the
"Window|New Window" menu item'.
After restarting XXE, select the "Window|New Window" item to open a new
XXE window and then click at the end of the "File" menu to reopen your
document in the second XXE window.
References:
*
http://www.xmlmind.com/xmleditor/_distrib/doc/help/generalOptions.html#featuresOptions
* http://www.xmlmind.com/xmleditor/_distrib/doc/help/windowMenu.html
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support