tomboy-notes / tomboy

This is the legacy development for Tomboy.
http://projects.gnome.org/tomboy
GNU Lesser General Public License v2.1
126 stars 25 forks source link

Undo level is not a single edit (eg paste) #30

Open acrothoi2 opened 7 years ago

acrothoi2 commented 7 years ago

(copied from https://bugzilla.gnome.org/show_bug.cgi?id=589257) ...

Iivari Mokelainen:

Please describe the problem: Single undo level is not a single edit. A paste of one chunk of formatted text is processed as many edits, hence when undo'ing the edit is reverted in small parts.

Steps to reproduce:

  1. Write some formatted text, with bullets.
  2. Copy the text.
  3. Append (paste) the text.
  4. Press undo (or Ctrl-Z)

Actual results: Only some of the last change is reverted (particularly with bullet-points - only text of a bullet-point is erased)

Expected results: Whole last edit reverted (whole paste is erased)

Does this happen every time? Affirmative

It may be helpful to reference where this was fixed in gnote: https://bugzilla.gnome.org/show_bug.cgi?id=747202