Menu

Column mode does not work properly

2007-03-11
2012-11-13
  • Joel Kleppinger

    Joel Kleppinger - 2007-03-11

    I came across the post about using column mode via holding down the ALT key and dragging the mouse to select.  Personally, I prefer Ultra-Edit's one-time column mode setting.

    However, when I was testing column mode, I found that it did not perform as expected.  The problem is that after making a selection, I cannot insert new text at every row of that column.  I can delete but not insert.

    Here's an example.  Let's say I had this text:

    if statement true {
      random bit of code;
      loop {
        more random code;
      }
    }

    Now, if I want to indent the entire block of code to the right, I would use column mode to create a line (not selecting anything) on the left-most part of the page and then press spacebar to indent.  What results is that only the first line of the selection is indented... the rest does not move.  (Yes, I know that tabbing a selection in N++ will indent it over.  I'm trying to make a point)

    Here's another set of text:
    superman
    superman
    superman

    Let's say I want to change that text to all say "sup-woman" using Column Mode (and yes, I realize a Find/Replace can do that.  I'm trying to demonstrate the usefulness of Column mode insertion).  I would highlight the "er" columns and then start typing "-wo" and it would be done for all rows.  However, this is the result of doing that in N++:

    sup-woman
    supman
    supman

    It deleted the colums correctly but could not handle insertion.

    Please correct this.  This feature is pretty unique and powerful when it works properly.

     
    • steakhacher

      steakhacher - 2007-03-15

      Notepad is already very very good and very helpfull.

      But it could be very very better with this functionality. I think that notepad++ will be the best text editor without contest (may be even better than ultraedit) with a good column mode and not only scintilla column mode.

       
    • pshute

      pshute - 2007-03-12

      It sounds like a good feature. Another workaround is Plugins/TextFX Edit/Insert (clipboard) through lines.

       
    • jbiwer

      jbiwer - 2007-03-14

      Crimson Editor has a column mode that works great!

      However, Crimson Editor is has not been updated for two years.

      I agree, N++ could be improved by adding a column mode (that works).

      Thanks.