notepad++ Advanced Editing features Column Editing


Example

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