If you want delete sub nodes change the text of node so
that it is statement unfit to have sub nodes.
For XML the text of node is not start tag.
As sample, the text may be an empty tag, character data or empty string.
Then Program Tree Editor deletes sub nodes from node and removes they one level up.
|
Press key
F8
|
|
For C, Java text is not statement fit to have a brace block.
As sample, the text may be whole statement with semicolon
";"
on end or preprocessor directive.
Then editor remove sub nodes form this node into a new node flow after.
|
Press key
F8
|
|
Also, you can delete every sub nodes manually, see
How to delete a node?
Or use possibility to combine a node and its first sub node, see
How to combine nodes?
See also:
How to resize a node?
|