Request. Insert a Clipboard string in any Column position.



  • Insert a Clipboard string in any Column position.

    Sample.
    =====new 1=====
    foo
    bar
    baz
    qux
    quux

    =====Clipboard=====
    111
    222
    333
    444
    555
    666
    777

    First, move the cursor to the insertion position.
    Ex. Cursor Position Ln 1,Col 2.

    Menu -> Edit -> Paste Special -> Insert the clipboard at the cursor position.

    =====new 1=====
    foo
    ba111r
    ba222z
    qu333x
    quu444x
    555
    666
    777

    Other Menu
    Menu -> Edit -> Paste Special -> insert the clipboard at the cursor position + Space.
    insert the clipboard at the cursor position + TAB.
    insert the clipboard at the cursor position + Comma.

    Thank you for your consideration.



  • Hello Venix Derect,

    this can already be done using column-mode-editing.

    Cheers
    Claudia



  • another ex.
    =====new 1=====
    foo
    bar
    baz
    qux
    quux

    =====Clipboard=====
    Features
    Document Map
    Function List
    Multi-editing
    Column Mode Editing
    Ghost Typing

    Menu -> Edit -> Paste Special -> insert the clipboard at the cursor position + Comma.
    =====new 1=====
    fo,Features,o
    ba,Document Map,r
    ba,Function List,z
    qu,Multi-editing,x
    qu,Column Mode Editing,ux
    Ghost Typing



  • I’m not sure about Venix’s example as I think my N++ version is too old to have the specific Paste Special item mentioned, but in the solution Claudia gave it is worth pointing out that if the clipboard data has not been cut/copied AS A COLUMN BLOCK, it won’t paste with the desired effect.

    So, if the clipboard data comes from another program, say, it won’t paste as desired for sure. The technique then would be to paste somewhere temporarily in a N++ editor window, then invoke column mode, then cut the data just pasted, then finally do the desired paste at the final location.



  • Hello Scott,

    absolutely agreed, thx for clarification.

    Cheers
    Claudia


Log in to reply