Expand all folds - not working

Oxygen general issues.
duveit
Posts: 4
Joined: Wed Mar 17, 2010 5:10 pm

Expand all folds - not working

Post by duveit »

I accidently hit the shortcut for folding all segments (ctrl + /) in my 4300 line xsl document, and the expand all function doesnt seem to work, not even when I select it from the document->folding->expand all , menu.

Is there something I'm not seeing or is it simply not working?
having to un-fold every code segment takes forever + 1.

Using Oxygen 11.2
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Expand all folds - not working

Post by adrian »

Hello,

Expand All (Ctrl+*) is contextual in v11.2 so you need to use it when the caret is on an element. If you want to expand all folds, move the caret in the root element and invoke it there.

In v12.0 this has been changed and Expand All is global, it expands all the folds in the document.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
duveit
Posts: 4
Joined: Wed Mar 17, 2010 5:10 pm

Re: Expand all folds - not working

Post by duveit »

Ok, what is odd though, is that it only works to fold all from a node, and then not unfold again, even though its the same spot :)

Managed to hit that shortcut by mistake again (its the same combo which is used to comment a section in IntelliJ and I keep swapping back'n forth).

Suppose I'll just disable that shortcut then. Because this makes an allready hard battle with xsl 1.0 even worse :wink:
Post Reply