Using Find/Rep;lace to substitute a Tab character for another character
Submitted by Saturday, 30 August, 2008 - 17:22
on
I often use jEdit to prepare datafiles for subsequent manipulation. At times it is convenient to line up "data fields" into columns in a tab delimited format. Hence, I
would like to substitute a "|" [vertical bar character] that is used as a delimiter and replace it with a tab character (or perhaps 2 tabs) so that the columns are aligned
and readily visible and comparable for visual inspection.
However, when I try to insert a tab character into the replace field of the find/replace pane, it simply moves to the next toggle button (selection) and does not enter a tab character as a replacement. I have tried to use /t "/t", and even prepare a bean-script to do this but so far I haven't succeeded (I get /t or "/t" instead of the tab characer). The user guide doesn't seem to provide insight, at least to me, of how to do this.
Might anyone be able to help me?
Thank you very much,
Stuart
would like to substitute a "|" [vertical bar character] that is used as a delimiter and replace it with a tab character (or perhaps 2 tabs) so that the columns are aligned
and readily visible and comparable for visual inspection.
However, when I try to insert a tab character into the replace field of the find/replace pane, it simply moves to the next toggle button (selection) and does not enter a tab character as a replacement. I have tried to use /t "/t", and even prepare a bean-script to do this but so far I haven't succeeded (I get /t or "/t" instead of the tab characer). The user guide doesn't seem to provide insight, at least to me, of how to do this.
Might anyone be able to help me?
Thank you very much,
Stuart