Program Tree Editor

Introduction

Editing of tree

What is advanced caret movement?

How to create a new node?

How to delete a node?

How to select nodes?

Editing of text

What is a node for XML?

What is a node for C, Java?

When is a tree updated?

How to create sub nodes?

How to delete sub nodes?

How to combine nodes?

Edit windows

Auto completion

Natural view

Limitations

Screenshots

How to delete sub nodes?


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?