/*************************************************************************
* This program is copyright (C) 1985, 1986 by Jonathan Payne. It is *
* provided to you without charge for use only on a licensed Unix *
* system. You may copy JOVE provided that this notice is included with *
* the copy. You may not sell copies of this program or versions *
* modified for use on microcomputer systems, unless the copies are *
* included with a Unix system distribution and the source is provided. *
*************************************************************************/
BackChar(); /* Cap previous EXP chars */
exp
= 1; /* So all the commands are done once */
if (upper(&linebuf
[curchar
])) {
if (curline
->l_next
== 0)
SetLine(curline
->l_next
);
BackWord(); /* Cap previous EXP words */
exp
= 1; /* So all the commands are done once */
to_word(1); /* Go to the beginning of the next word. */
if (upper(&linebuf
[curchar
])) {
while (!eolp() && isword(linebuf
[curchar
])) {
if (lower(&linebuf
[curchar
])) {
ForWord(); /* This'll go backward if negative argument. */
case_reg(before
.p_line
, before
.p_char
, curline
, curchar
, up
);
case_reg(line1
, char1
, line2
, char2
, up
)
(void) fixorder(&line1
, &char1
, &line2
, &char2
);
if (curline
== line2
&& curchar
== char2
)
if ((up
) ? upper(&linebuf
[curchar
]) : lower(&linebuf
[curchar
])) {
register Mark
*mp
= CurMark();
case_reg(curline
, curchar
, mp
->m_line
, mp
->m_char
, up
);