Menu

Insert on new line

Stephen
2009-04-08
2012-11-13
  • Stephen

    Stephen - 2009-04-08

    Sorry if this is a dumb question, but does Notepad++ have a way of inserting on the next line while in the middle of the current one? A lot of IDEs allow you to do this by pressing shift+enter. Eclispe calls it Insert Line Below Current Line.

     
    • cchris

      cchris - 2009-04-09

      Do you expect to be able to do this while having some selected text? The selection will be lost anyway (bbut not its contents), and the cursor position will be preserved:

      If no text is selected:
      <Enter><End><Enter><Up arrow><Backspace>
      If some text is selected:
      <Ctrl-D><Enter><End><Enter><Up arrow><Backspace>

      I don't know of a way to do this regardless of anything being selected.

      CChris

       
MongoDB Logo MongoDB