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

Func DN deletes 'protected text'



This discussion applies to Xy4 (Signature), XyWin and NBWin, not
Xy3.

Command NM is used to protect a block of text against deletion or
modification. With a block DeFined, command NM. You will see 
embedded at the beginning of the block and  at the end.
Thereafter, except in eXPanded view, any attempt to delete the
protected block, or to edit any text within it, will elicit an error
message: "Cannot modify protected text."

But, as I just discovered, "protected text" isn't completely
impervious to deletion in formatted views. It can be block-deleted
with func DN.

Let's back up a moment. There are three distinct functions that
perform block deletions. The best-known is func RD (Rub out
Define), which deletes the block but saves it to the Undelete buffer
for later retrieval if desired. The other two, NU (No Undelete) and
DN (Delete No_trace), delete without saving to the Undelete buffer.
NU saves the deleted matter to Save/Get 1816, making retrieval
possible via XPL (with ) until S/G 1816 is overwritten or
emptied. DN deletes absolutely.

RD and NU respect "protected text". DN doesn't. Don't get burned.

--
Carl Distefano
cld@xxxxxxxx