Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#162 Wipe Undo stack if Undo fails, and fix Undo check

closed-accepted
Perry
None
5
2003-06-24
2003-06-24
Perry
No

Fix the check after Undo to use line numbers instead of
screen numbers to
verify the ending line (because ghost lines may have
changed).

Empty the Undo stack when an Undo fails (because its
validation fails).

Encapsulate code that frees SUndoRecords into C++
paradigm (constructor,
copy constructor, copy assignment, destructor).

(This fixes the Redo half of the bug [ 760096 ]
Undo/Redo ASSERT failure)

Discussion

  • Perry
    Perry
    2003-06-24

    Altered (& original) files: ccrystaltextbuffer.*

     
  • Perry
    Perry
    2003-06-24

    • assigned_to: nobody --> puddle
    • status: open --> closed-accepted
     
  • Perry
    Perry
    2003-06-24

    Logged In: YES
    user_id=60964

    Applied to CVS.