On 3/15/2004 9:11:43 PM, Ted Green wrote:
>At 12:46 PM 3/15/2004, you
>wrote:
>Therefore, I still do not have
>an example of where the
>config(cm_e_undo,0) command
>fails.
>
I have also found a situation when delete causes Vedit to prompt "Cannot Undo this operation! Proceed Anyway?"
I have a file of length 1,491,220 bytes, and use Del_Block(...) to delete the block from 5,088 to 753,261.
(These are MIME files saved from Outlook, I am deleting attachments.)
The file is loaded in a buffer, and I am executing a test macro containing these commands in another buffer.
(The same occurs if I run the macro using Load/exec user macro.)
The macro commences with:-
#20=Config(U_E_UNDO, 0, LOCAL)
In fact the following test macro also causes the problem.
#20=Config(U_E_UNDO, 0, LOCAL) // Disable undo
Del_Block(5088, 753261)
Config(U_E_UNDO, #20, LOCAL)
|
|