Hi is there a text editor out there that allows me to select a block of text and insert a character to all lines at where I want to? E.g. start of line, end of line, nth position
|
feedback
|
|
Yes, there should be many who support this. In
which reminds me that you could directly use the regex with
I believe in | |||||||||||||
feedback
|
Yes, Emacs.
To insert some text at the Nth column: select the block of text from the Nth column of the first target line to the Nth column of the target last line, then press To insert some text at the end of the line: select the block of text down to the end of the last line, then run ( | |||||
feedback
|
|
If you don't mind paying for an editor UltraEdit calls that feature "Column Mode". UltraEdit is for Windows & Linux. If you are on Windows, I believe there are some freeware text editors with that feature, but I can't recall their names right now. If I find them I will update my answer. | |||||
feedback
|
|
You can achieve this with jEdit. To select a block of text use the Rectangular Selection tool (i.e. hold down Control while selecting) The Search/Replace tool allows you to search using regular expressions so to find the start of every line the search criteria would simply be " | |||
feedback
|