609
« on: January 16, 2009, 10:46 PM »
Word processors and most text editors today work on a stream buffer principle - a single stream of text is interpreted and reformatted into lines on-screen. But there is another approach with roots in the IBM mainframe world: line-oriented editors in which each line of text is a separate record in a linked list. Line-oriented editors have certain limitations which make them unsuitable for some purposes (e.g., searching for multiline patterns) but they have many other benefits.
The best line-oriented editor for PCs is probably Kedit for Windows, an emulation of IBM's XEDIT mainframe editing environment. It's not likely to be anyone's only editor, but it provides capabilities unmatched by any other that I know of. One thing that I love about KfW is the selective editing: You can specify a target pattern and view only those lines that contain that pattern; you can then edit them as a block or toggle back and forth instantly between full and restricted views. You can also restrict edits to within vertical columns or inside rectangular blocks, overlay and fill blocks, etc. Persistent blocks are independent of selected text so you can use both at the same time. KfWt operates entirely in RAM and is exceptionally fast.
KfW has all the capabilities asked for by the OP, although for the ability to use filters as external user tools, you would have to learn to use REXX, which is probably the least intuitive scripting language ever devised.
The Mansfield Software Group, which publishes Kedit, had planned to cease operations last year, but there apparently is still enough demand for it that they have decided to continue selling and supporting it through 2009. KfW costs $129. You can get a demo version from their web site which is fully functional but will only save the first 75 lines of a file.