Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ How do I insert a column of data?

So I am trying to take a column of text data and replace that data with edited information. I am trying to manipulate values in a fixed width file. I want to leave the rows intact. I know I can hold ALT and select a whole column of information but when I try to paste into the selected area Notepad++ just adds the information above the first row and deletes the column Ive selected. Please help, I have been researching for a while now and cant find anything on this.

Below I will try to explain a bit better, if I were to select the asterisks using Alt+mouse and I have a column of data that I have copied from another file how could I replace the asterisks but leave the other data intact?

1111122222**22233333333333

1111122222**22222223333333

1111111122**22222223333333

like image 205
user2871554 Avatar asked Oct 11 '13 15:10

user2871554


People also ask

How do I insert a column in notepad?

Column Mode & Column Editor Using Alt + Mouse dragging or Alt + Shift + Arrow keys to make a selection in column mode: In column mode, typing will type the same thing in all the rows of the column.

Can you do columns in Notepad?

Yes, you can select the columns in Notepad++. Press and hold the Alt key on the keyboard and select the first cell with the cursor. Drag it to your desired cell, and you are done.


1 Answers

If I understand the question correctly, you have copied the column of data from somewhere else and want to copy it as a column into notepad++. If you simply select a column in your notepad++ document and try to replace it with the external column, you will get many copies of that column. The trick is to first paste your column into an empty document (or into new lines in an existing document), then select that column you just pasted in but make sure you select it in column mode, i.e., while holding down the Alt key, and then copy it with Ctrl-C. Now you can column-select the column you want to replace and copy in your copied column with Ctrl-V

like image 114
Gustav Delius Avatar answered Sep 21 '22 03:09

Gustav Delius