Undo...what is it supposed to do?

Last post 06-22-2004, 7:17 PM by colin. 3 replies.
Sort Posts: Previous Next
  •  06-21-2004, 1:15 PM 1060

    Undo...what is it supposed to do?

    Can we get a clarification on the limitations of the Undo button? My users are getting varying results, and the documentation simply suggests that it should undo the last editor operation. Sometimes creating and editing tables is tedious work, but my users are complaining that they cannot undo any table operation...and I can confirm. Should this be expected?
  •  06-22-2004, 1:11 AM 1068 in reply to 1060

    Re: Undo...what is it supposed to do?

    Hi Bruce!

     
    The undo functionality here is most likely being taken directly from the MSHTML functionality, which for most of the editing code in this software it is most likely a wrapper for.  If this is so, then it means your mileage will vary a lot when using it. 
     
    I could be wrong, but I think it is set in MSHTML to only remember back one undo namespace and that undo namespace can change with each editing functionality depending on what's needed ie...the undo for a font is different than the undo for a picture or a table and so on.  So an undo namespace might only be good until another functionality/button is clicked, at which time it is replaced with the appropriate undo namespace for the button/functionality clicked.  This causes the undo button to look like it has stopped working when in fact it has instead just invalidated the prior undo namespace in favor of one that fits the chosen functionality. 
     
    You'll find this happens in all the editors based on the MSHTML control.
     
    So the undo really only works right after something is done, and only before a different functionality is chosen and only if that functionality has a correctly working undo namespace.  To make matters worse, it seems some undo namespaces are shared whereas some are not, and sometimes it appears that an undo namespace is actually cleared by the MSHTML control based on some unknown internal rules.  All of this causing more confusion. 
     
    It needs to be replaced by someone.  I did hear MS is working on it, but it will only come out in a new future service pack.
     
    Hope this at least sheds some light.  Your mileage may very on the informatytion above, it's just what i was told by MS.
     
    -Colin  
  •  06-22-2004, 11:00 AM 1073 in reply to 1068

    Re: Undo...what is it supposed to do?

    What a can of worms I opened...thanks for the update. I suppose that if what your are saying is true, the CuteEditor coders have some serious work ahead of them to fully implement undo functionality outside of the MSHTML...bummer. I guess I need not ask what we should expect from the Redo option...thanks again.
  •  06-22-2004, 7:17 PM 1076 in reply to 1073

    Re: Undo...what is it supposed to do?

    ((grin)) Sorry, didn't mean to be so wordy. =) 
     
    The new XP service pack is in RC2 and due out at the end of summer so they may also just wait for this to see if it fixes things.
     
    =) Plus, I'm guessing the Microsoft boys never thought the MSHTML functionality would become as popular as it is, probably figured they'd be the only ones to use it.  Boy were they wrong.   
     
     
View as RSS news feed in XML