<

# Standard operations

The edit control supports simple Undo, Redo and Cut, Copy and Paste. These standard operations can be found in most editors and perform in very similar ways. You can perform these operations by selecting the corresponding menu item in the Edit menu, or clicking its button on the toolbar ( for cutting text, for copying, for pasting, for undo and for redo). Additionally, by default the Cut, Copy and Paste options are available in the context menu (see the Context Menu section for more information).

The standard Copy, Cut and Paste operations can be refined with the help of the NppExport plugin which can copy to clipboard as RTF or HTML. Also, the Edit -> Paste Special offers specific commands to paste HTML or RTF contents. It also has copy, cut and paste operations for binary contents:

Browsing the Shortcut mapper will show you more editing commands that duplicate or move lines, or send a line to clipboard without selecting it. See also Other editing tools.

When you copy or cut a piece of text in Notepad++, this gets stashed for display and further use in the clipboard history. Spawned by Edit → Clipboard History, this dockable window lists all such snippets, showing the first 12 characters of them. Double clicking an item will insert it at the current cursor position.

Since the most basic edit operation is to type a character in, notepad++ has a tool to insert any character. This is brought up using Edit → Character Panel. Like the clipboard history, this is a dockable window listing all 256 ASCII codes and the corresponding character. Double clicking an entry will insert the character.