Manuel Collado wrote: > Perhaps a perfect synchronization of styled and nonstyled views is neither > neccesary nor easy to achieve. But a better automatic scrolling policy would > certainly help: > > - When just navigating by moving the caret, keep always the caret visible. > Most time both views will sychronize at the top or the bottom of the viewport. > - When extending the text or element selection, keep the whole selection > visible if it fits inside the viewport. Again, most time both views will be > in adequate synchronism. > - If the selected region doesn't fit inside the vieport, at least keep the > caret visible in both views, like in the first point. > > The current behaviour it to keep the caret visible in most cases, but do not > force the whole selection to be visible, event if there is enough room for it.
We are well aware of the current deficiencies of the synchronization of the views. However, your spec is excellent. Thank you for that. Philippe Nobili wrote: >> If we really wanted to do that, the best solution would be to get rid >> of the tree view (which is just a ``normal view'' having no CSS style >> sheet) and replace it with a specialized, highly optimized for the >> task, pane similar to those found in all the other structured document >> editors. >> > But views are already synchronized in XMLMind, our suggestions seem > reasonable and would certainly introduce very little changes to XMLMind; > we fail to see reasonable reasons not to implement these: they have good > value for very little effort. If improving this required very little effort (well even, moderate efforts), be assured that we would have very quickly implemented what you have suggested. We'll seriously think about your RFE. If we find a simple way to improve the synchronization of the views, we'll implement it. Unfortunately for now, we don't have the slightest idea on how to implement this simply and elegantly.

