[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

What Xy can do (was: Re: Looking for XyWrite)



Re change commands:

Mnemonics: I've decided to interpret "CV"/"CI" as "Change
Variable"/"Change
Invariable".

Delimiters: Some time ago, I put several steps into a routine that runs off
a single key-combination (as it happens, I put CVA on CTL+SHFT+[ and CIA on
CTL+SHFT+]):

 (1) SI (ensures "insert" rather than "overwrite" mode)
 (2) F5 CVA  
 (3) 

The result is that the cursor on the command line is in position to input
the "old" string for an "old"-->"new" change. I key in the "old" string,
arrow one step to the right to step over the middle delimiter, and key in
the "new" string.
   Well, I soon discovered that when I used / or \ or * or @ or # as a
delimiter, sooner or later I would want to use that character within the
"old" or "new" string, thus invalidating the command. So I settled on a
character I was fairly sure I'd never use in my work (I chose ASCII 239).

Does anyone have a fix to make CIA/CVA case-sensitive, i.e. a single
command that will change "Change" to "Fix" but also change "change" to
"fix"?

Cheers
Eric Van Tassel

PS: Please can we all update the subject line?