It is not just the full redraw that causes the trouble, but there are
several stylesheet items which cause a partial redraw as with Robert's
docbook example. If I change a value which causes a rebuild of an
element, and that element contains others which are collapsible, these
all revert to their default state.

I would like something like:
  collapsed: yes | no | preserve;

Could this be added to the wish list?

Philip


Hussein Shafie wrote:
> Philip Nye wrote:
>> I have been struggling with a similar issue. I have a lot of deeply
>> nested collapsible elements, and generally would like any re-draw to
>> just leave them in their existing state. Could this be done?
> 
> No. For now, if you specify "collapsed: yes;" on a element, the view of
> this element will be in collapsed state each time it is rebuilt.
> 
> Ctrl-L=Redraw, despite its non-intimidating name, is in fact a very
> expensive operation. It rebuild the views of all the elements, among
> other things.
> 
> In principle, you rarely need to use this operation.
> 
> 
>  
> --
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support
> 

Reply via email to