Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What key enables the selection of non-consecutive lines in notepad++ ?

I have some Matlab code I have edited with notepad++. I would like to select distinct (non consecutive) blocks of code in order to perform Find&Replace within my selected code only.

This wouldn't be a problem if this was to be done in one continous block of code, but how can I select little blocks from all over the script ? In Word or Excel, the Ctrl key would do the trick; what's its notepad++ equivalent ?

Thank you for any help.

share|improve this question
up vote 8 down vote accepted

from the help:

If a stream area is selected, it is possible to add another, disjoint area by Ctrl-clicking its start point and moving the mouse to the end point. More than one extra selection can be added this way. (Multi-Editing should be enabled in Preferences)


tl;dr - Settings -> Preferences -> Editing -> Multi-Editing Settings -> Enable, then Ctrl-Click for each section

share|improve this answer
Thank you very much! This is going to save me a lot of time. – Lucy Dec 20 '12 at 12:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .