如果那里的人有足够的年龄来记住IBM大型机上的ISPF编辑器,那么你就知道我的意思了。对于你们其他人......
我正在寻找一个免费的编辑器,它允许我只编辑文本文件的特定列(最好只在一系列连续的行上)。
NotpePad ++,Crimson Editor(开发中似乎更长,唉)和UltraEdit(不是免费的,唉),都声称是列模式,但这只是复制/粘贴矩形区域的能力文本文件。
虽然这当然很好,但我希望他能够搜索/替换文本,并能够将其限制在一个范围或连续的列中,最好也是在一系列连续的行上。
一个糟糕的例子:
Tim likes beer
Toms likes beer very much
Bob does not like either beer or wine
Ann likes beer, and also wine (and the Oxford comma ;-)
又是这里,有一些线和&列号:
1 2 3 4
1234567890123456789012345678901234567890
1 Tim likes beer
2 Toms likes beer very much
3 Bob does not like either beer or wine
4 Ann likes beer, and also wine
如果我想改变所有"啤酒" to" fish"在第10列和第20列之间,结果将是(更改大写)。
1 2 3 4
1234567890123456789012345678901234567890
1 Tim likes FISH
2 Toms likes FISH very much
3 Bob does not like either beer or wine<=== not changed, not between cols 10 & 20
4 Ann likes FISH, and also wine
作为奖励,我想将其限制为某些行,让我们说第2行到第4行,在这种情况下,结果将是:
1 2 3 4
1234567890123456789012345678901234567890
1 Tim likes beer <== not changed, not between lines 2 and 4
2 Toms likes FISH very much
3 Bob does not like either beer or wine <== not changed, not between cols 10 & 20
4 Ann likes FISH, and also wine
问题:有没有人知道(最好)免费的Widows文本编辑器可以做到这一点?
答案 0 :(得分:1)
UltraEdit仅支持选择中的查找/替换,当然也可以是矩形选择,以及指定列范围内的查找/替换。列范围可以直接在高级部分的查找/替换窗口中定义,通过单击按钮Advanced和齿轮按钮打开。但UltraEdit是共享软件,而不是免费的。
答案 1 :(得分:0)
好吧,我知道双重发帖对我来说很顽皮,但我想我会在新的时候试试运气 Software Recommendations网站(仍处于测试阶段)。
而且,在一天之内,有人为我编写了一个Notepad ++插件!!
https://softwarerecs.stackexchange.com/questions/6795/free-text-editor-with-full-column-mode-support