Notepad++ 如何插入一列数据? [英] Notepad++ How do I insert a column of data?

查看:871
本文介绍了Notepad++ 如何插入一列数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我试图取一列文本数据并用编辑过的信息替换该数据.我正在尝试操作固定宽度文件中的值.我想保持行完好无损.我知道我可以按住 ALT 并选择一整列信息,但是当我尝试粘贴到选定区域 Notepad++ 时,只需将信息添加到第一行上方并删除我选择的列.请帮助,我已经研究了一段时间,但找不到任何关于此的信息.

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.

下面我将尝试更好地解释一下,如果我要使用 Alt+鼠标选择星号并且我有一列数据是从另一个文件复制的,我该如何替换星号但保持其他数据不变?

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**22233333333333

1111122222**22222223333333

1111122222**22222223333333

1111111122**22222223333333

1111111122**22222223333333

推荐答案

如果我对问题的理解正确,您已经从其他地方复制了该列数据,并希望将其作为列复制到 notepad++ 中.如果您只是在 notepad++ 文档中选择一列并尝试将其替换为外部列,您将获得该列的许多副本.诀窍是首先将您的列粘贴到一个空文档中(或粘贴到现有文档中的新行中),然后选择您刚刚粘贴的那一列,但请确保在列模式下选择它,即在按住 Alt 键的同时,然后用Ctrl-C复制它.现在您可以使用 Ctrl-V 列选择要替换的列并在复制的列中复制

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

这篇关于Notepad++ 如何插入一列数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆