I can't find out how to implement next behavior in XML Syntax editor:
I have 2 buttons on form: Expand and Collapse.
1. When user clicks "Collapse" button - if the cursor inside the node, then it is collapsing.
2. When user clicks "Expand" button - if the cursor stands on collapsed node - it is expanding.
How to achieve this?
I have 2 buttons on form: Expand and Collapse.
1. When user clicks "Collapse" button - if the cursor inside the node, then it is collapsing.
2. When user clicks "Expand" button - if the cursor stands on collapsed node - it is expanding.
How to achieve this?