Copy and Paste

Copying and pasting text works almost like any other text editors with few differences due to the folding system.

1. Copying as Reference

This is a special copy: the location of the current section is copied instead of the selection. This command works only at the toplevel of a file or in a subsection if all parent sections have an identifier.

When the location is pasted in a text file edited in Code Browser, a link to this location is inserted. The link uses a relative path when possible.

2. Pasting Raw Text

A text copied from Code Browser is pasted with all sections unfolded and the headlines inserted as comments according to the language of the target file.