You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ajax.org Cloud9 Editor (Ace)
Hi,
Is there any configuration and shortcut keys to collapse all or expand all sections in a yaml in ace editor? Any pointer is greatly appreciated.
Vanessa
vanessa....@gmail.com
unread,
May 8, 2024, 4:17:24 PMMay 8
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ajax.org Cloud9 Editor (Ace)
I am using foldAll and expandFolds to achieve this. However expandFolds only works at the top-level folds. It does not work for deeper folds. Is there any method that I can use to recursively and deeply expand all Folds
toggleFoldingAllCode(folding:boolean):void {
constaceSession=this.getAceEditor().getSession();
if (folding) {
aceSession.foldAll();
} else {
aceSession.expandFolds(aceSession.getAllFolds());
}
}
vanessa....@gmail.com
unread,
May 8, 2024, 4:20:45 PMMay 8
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ajax.org Cloud9 Editor (Ace)
Never mind. I discovered that if I call expandFolds many times. It will unfold more folds at a deeper levels.
Harutyun Amirjanyan
unread,
May 9, 2024, 4:49:31 PMMay 9
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message