notepad++

Advanced Editing features

Multi-Editing

Multi-Editing allows the user to edit text at several locations simultaneously.

Multi-Editing

Multi-Editing is disabled by default: it can be enabled (resp. disabled) in Preferences > Editing by checking (resp. unchecking) the related checkbox.

Enabling Multi-Editing

To use Multi-Editing, the user can Ctrl Click on the different locations and start to type.

Using Multi_Editing

During usage of Multi-Editing, text can be paste (e.g. by using Ctrl+V).

The user can also add some incremental numbers as follows:

  1. Go to Edit > Column Mode (Alt+C)
  2. Select Number to insert
  3. Choose the starting number (e.g. 1), the increment (e.g. 1) and optionally a repeat number (e.g. 2 to have the following sequence 1 1 2 2 3 3 …)

Column Editing

Column Editing enables the user to edit text on several lines as a vertical square zone.

This feature is enabled by default.

There are 3 ways to select a zone to edit:

  • Maintain Alt+Shift and use Up/Down/Left/Right to select the zone to edit with direction keys
  • Maintain Alt+Shift and click on the document to define the other corner of the zone (the first corner being the position of the editing cursor)
  • Alt + select the zone to edit with the mouse while maintaining Click

Column Editing

To edit the text you can

  • Type the new text
  • Paste
  • Using Edit > Column Mode

.

For example, to add some incremental numbers

  1. Define a zone with the numbers to replace
  2. Edit > Column Mode > Number to insert and select the parameters

This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow