Topic: Tab settings (1 of 7), Read 56 times
Conf: VEDIT Suggestions
From: Mark Chalkley
Date: Saturday, February 21, 2004 11:08 AM

I do a lot of ascii file editing for both data import and export processing and I often have to examine large files. It would make life much easier if the tab stops could be set using a ruler or some other visual mechanism.

 


Topic: Re: Tab settings (2 of 7), Read 58 times
Conf: VEDIT Suggestions
From: Ted Green
Date: Saturday, February 21, 2004 12:43 PM

At 11:08 AM 2/21/2004, you wrote:
>I do a lot of ascii file editing for both data import and export processing and I often have to examine large files. It would make life much easier if the tab stops could be set using a ruler or some other visual mechanism.

Implementing such a visual ruler would be very time consuming; we currently have other priorities.

The upcoming VEDIT 6.2 supports more tabs stops and tab stops out to column 65000. We plan on macros which can analyze fields in CSV and similar data files and automatically set the tab stops according to the maximum fields widths. I think you would like that even better, and it is much easier for us to implement.

Ted.

 


Topic: Re: Tab settings (3 of 7), Read 58 times
Conf: VEDIT Suggestions
From: Mark Chalkley
Date: Saturday, February 21, 2004 12:46 PM

I do like that even better - thanks!

Mark

 


Topic: Re: Tab settings (5 of 7), Read 62 times, 1 File Attachment
Conf: VEDIT Suggestions
From: Christian Ziemski
Date: Sunday, February 22, 2004 02:21 AM

On 2/21/2004 12:43:00 PM, Ted Green wrote:
>
>We plan on macros which can analyze fields in CSV and
>similar data files and automatically set the tab
>stops according to the maximum fields widths.

Here is my yet-between-bed-and-breakfast-created macro for that.

It replaces the CSV-separators with TAB characters and configures VEDITs tabulators accordingly.

Christian

 
CSV2TAB.VDM (2KB)

 


Topic: Re: Tab settings (4 of 7), Read 51 times, 1 File Attachment
Conf: VEDIT Suggestions
From: Christian Ziemski
Date: Saturday, February 21, 2004 03:15 PM

Mark:

>I do a lot of ascii file editing for both data import and export processing
and
>I often have to examine large files. It would make life much easier if the tab
>stops could be set using a ruler or some other visual mechanism.

Perhaps my TABUMAT.VDM is helpful for you (it's attached).

You can assign it to a key (e.g. Ctrl-Q, near the TAB-key to be
comfortable).

It automatically sets VEDITs TABs according to the "words" in the
current line.

So you simply have to position the cursor on a pattern line or
(sometimes easier) create a temporary "tabulator" line and then press
the assigned key.

I usually do it by creating that temporary line as line 1 at top of
the data and fill it with some "x" (divided by spaces!) where I think
TABs are useful.
After pressing the assigned key I can see the results in the data.
If not o.k: Only change the "x"s in line 1 and do it again...

Hopefully the description is clear enough.

Christian

(The attached version is still restricted to 32 TABs up to column 254.
But that can be easily changed.)

 
TABUMAT(1).VDM (2KB)

 


Topic: Re: Tab settings (6 of 7), Read 36 times
Conf: VEDIT Suggestions
From: Christian Ziemski
Date: Tuesday, September 07, 2004 04:01 PM

On Sat, 21 Feb 2004 15:15:00 -0400, Christian Ziemski wrote:

>Mark:
>You wrote:
>>I do a lot of ascii file editing for both data import and export
>>processing and I often have to examine large files.
>>It would make life much easier if the tab
>>stops could be set using a ruler or some other visual mechanism.
>
>Perhaps my TABUMAT.VDM is helpful for you (it's attached).

Update:

The originally attached version was restricted to 32 TABs up to
column 254 (due to VEDIT's limits up to version 6.11)

(still available here:
http://ziemski.privat.t-online.de/vedit/macros/tabumat.vdm )


With the new VEDIT 6.13 there are max 257 TAB stops possible with a
max column of 65535.

So I created a new version of my macro to reflect that:

http://ziemski.privat.t-online.de/vedit/macros/tabumat2.vdm


Christian

 


Topic: Re: Tab settings (7 of 7), Read 38 times
Conf: VEDIT Suggestions
From: Mark Chalkley
Date: Tuesday, September 07, 2004 04:24 PM

Christian,

Got it. Once again, thanks!!!

Mark