darrenburns,
@darrenburns@fosstodon.org avatar

Does anyone know of heuristics that are used to decide exactly what gets undone when you "undo" in a text editor?

I'm currently batching edits by considering time since last edit, occurrence of any newline characters in replaced or inserted text, and a limit of the number of characters in a batch.

I wonder if there are any other reasonable heuristics that might improve UX that could be easy additions 🤔

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines