Topic: Deleting Words (1 of 4), Read 29 times
Conf: Basic editing, Block operations
From: Walt Pattinson
Date: Friday, August 12, 2005 06:47 PM

I was wondering the reason VEdit was designed to delete a word and leave the whitespace following. Is there a plan to have the feature selectable so word+whitespace is deleted in one command? Or is this relegated to a macro?

Thanks,
Walt

 


Topic: Re: Deleting Words (2 of 4), Read 26 times
Conf: Basic editing, Block operations
From: Ted Green
Date: Friday, August 12, 2005 06:53 PM

At 06:48 PM 8/12/2005, you wrote:
>I was wondering the reason VEdit was designed to delete a word and leave the whitespace following. Is there a plan to have the feature selectable so word+whitespace is deleted in one command? Or is this relegated to a macro?

Walt:

This was designed 20 years ago. "the reason" is long forgotten, probably other editors worked that way then.

Frankly, there are no plans to work on the word processing features in VEDIT in the near future. Sorry.

Ted.


Ted.
-------------------------------------------------------------------------
Ted Green (ted@...) Greenview Data, Inc.
Web: www.... Fax: 734-996-1308 PO Box 1586, Ann Arbor, MI 48106
Tel: (734) 996-1300 Desk: 734-369-3550 VEDIT - Text/Data/Binary Editor
-------------------------------------------------------------------------
www.SpamStopsHere.com ranked #1 in accuracy by Network Computing Magazine

 


Topic: Re: Deleting Words (4 of 4), Read 24 times
Conf: Basic editing, Block operations
From: Walt Pattinson
Date: Monday, August 15, 2005 06:21 PM

Thanks for the info, Ted. I was mainly curious, and knew the delete could be modified by macros.

And thanks Christian. With your macro as a guide, I created DELNWORD and DELPWORD that does exactly what I wanted.

I was looking for a DELWORD that
1) Deletes forward from cursor position
2) removes WORD_SEP characters after the word
3) Stops at the EOL
4) Deletes EOL if that's the current char.

Basically a word-sucker... DELPWORD is of course the reverse.

I'll post them in the macro section. Please feel free to comment and suggest since I'm just getting into macros (finally!!!)

Walt

 


Topic: Re: Deleting Words (3 of 4), Read 31 times
Conf: Basic editing, Block operations
From: Christian Ziemski
Date: Saturday, August 13, 2005 02:30 AM

On Fri, 12 Aug 2005 18:47:00 -0400, Walt Pattinson wrote:

>I was wondering the reason VEdit was designed to delete a word and
>leave the whitespace following. Is there a plan to have the feature selectable
>so word+whitespace is deleted in one command?


Fortunately it's possible to use a macro for that. ;-)

I wrote a little one:

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

It can't replace the original *menu* entry {Edit, Delete, Delete next
word} since that one is hardcoded, but it can be put into the {User}
or {Tools} menu and can be assigned to the original key Ctrl-Del.

Christian


PS: Due to a provider change my Vedit page used above will be closed
later this month. When I know the new address I'll post it here.