[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Programming request: delete to next X
- Subject: Re: Programming request: delete to next X
- From: cld@xxxxxxxx (Carl Distefano)
- Date: Sun, 21 Jul 2002 14:46:45 -0400
Reply to note from Wolfgang Bechstein Sun,
21 Jul 2002 21:07:42 +1000
A couple of other U2 routines may be of interest on this point.
DEL2PUNC deletes to the next punctuation mark. I have it assigned
to a key - nn=NOXHJM(,2,.,d,e,l,2,p,u,n,c,) - and use it all the
time.
Also DEF, an enhanced DeFine function designed to replace func DF in
the .KBD file: nn=NOXHJM(,2,.,d,e,f,). When you hit your DEF key to
start a DeFined block, it gives you the option ("auto-extend") to
extend the block to the char corresponding to the next pressed key;
you can keep on pressing keys or revert to standard cursor movement
to complete the block. This emulates a WordPerfect-DOS feature that
ended up a casualty of Windows and CUA.
--
Carl Distefano
cld@xxxxxxxx
http://users.datarealm.com/xywwweb/