Notepad++

Home > Knowledge Base (Content)

How to move a folded section to another place?

Given a document in Notepad++ with the following content:

A simple XML document having some folded sections

How can one move around a collapsed elements in its entirety without first having to uncollapse the element? So that no unnecessary uncollapsing and then recollapsing steps are needed for every moving action.

It is just a little bit different to what you might think it is.

Mouse usage: Instead of selecting the line from start of the line and move the mouse to the end of the line you select the start position and move the mouse one line down.

Keyboard usage: Instead of pressing SHIFT+END you press SHIFT+Down Arrow.

As expected, all contents of the folded section appears.


Keywords:

Notepad++, Editor, section, folded, collapsed